# UTF8

Updated: 11/30/2021, 7:00:45 PM
Created: 11/30/2021, 7:00:45 PM
Last Updated By: Jake Tuttle
Read Time: 1 minute(s)

# Description

The UTF8 function converts a latin1 or binary string into the UTF-8 equivalent byte sequence. It takes the general form:

UTF8(expression)
1

Where:

expression is expected to be a binary/latin1code page string, which converts the binary string into a UTF-8 encoded byte sequence, used to represent the Unicode values for each byte in the expression.

This function is useful for converting binary or latin1 code page data into internal format when in International Mode.

Go back to jBASE BASIC

Go back to Programmers' Reference Guide