Navigation:  ThinBASIC Language > thinBasic Functions > Unicode / UTF8 >

Utf8ToChr$

Previous pageReturn to chapter overviewNext page

 

Description

 

Translates a byte string of OEM characters into ANSI/WIDE characters

 

Syntax

 

s = UTF8ToChr$(Utf8Expression)

 

Returns

 

String

 

Parameters

 

Name

Type

Optional

Meaning

Utf8Expression

String

No

A valid UTF8 string

 

Remarks

 

UtfExpression contains a series of bytes in UTF-8 format. Utf8ToChr$ translates it into either ANSI multi-byte equivalent characters or WIDE (16-bit) Unicode characters, depending upon the context of the source code.

 

Restrictions

 

See also

 

String Handling, UTF8ToWideChar$, WideCharToUTF8$, AnsiToUtf8$

 

Examples