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

ChrToUTF8$

Previous pageReturn to chapter overviewNext page

 

Description

 

Translates a string of ANSI/WIDE characters to UTF-8 byte characters

 

Syntax

 

s = ChrToUTF8$(WideStringExpression)

 

Returns

 

String

 

Parameters

 

Name

Type

Optional

Meaning

WideStringExpression

String

No

A valid wide unicode string (2 bytes for each char)

 

Remarks

 

Restrictions

 

See also

 

String Handling, UTF8ToWideChar$, WideCharToUTF8$, AnsiToUtf8$

 

Examples