UTF-8 Conversion Routines

From RAD Studio
Jump to: navigation, search

Go Up to API Categories Index

This topic lists all UTF-8 conversion routines.

Member Description

System.AnsiToUtf8

Converts a string encoded in Ansi to UTF-8.

System.WideStrUtils.AnsiToUtf8Ex

Converts a string encoded in ANSI to UTF-8 with a given code page.

System.WideStrUtils.ConvertStreamFromAnsiToUTF8

Converts a stream from ANSI to UTF-8 encoding.

System.WideStrUtils.DetectUTF8Encoding

Detects the encoding of a given WideString.

System.WideStrUtils.HasUTF8BOM

Detects if a string or a stream contains the UTF-8 byte-order mark.

System.WideStrUtils.IsUTF8LeadByte

Checks whether a character is a valid UTF-8 lead byte.

System.WideStrUtils.IsUTF8String

Detects if a given string is UTF-8 encoded.

System.WideStrUtils.IsUTF8TrailByte

Checks whether a character is a valid UTF-8 trail byte.

System.WideStrUtils.UTF8CharLength

Returns the number of bytes that follow a lead UTF-8 byte.

System.WideStrUtils.UTF8CharSize

Returns the number of bytes that follow a lead UTF-8 byte.

System.UTF8Decode

Converts a UTF8 string to a Unicode string (WideString).

System.UTF8Encode

Converts a WideString value to a UTF8 string.

System.UTF8EncodeToShortString

Converts a string to its UTF-8 encoded representation.

System.WideStrUtils.UTF8LowerCase

Returns the UTF-8 string converted to lower case.

System.UTF8ToString

Converts an UTF-8 encoded string to a string.

System.UTF8ToUnicodeString

Converts an UTF-8 encoded string to an Unicode string.

System.UTF8ToWideString

Converts an UTF-8 encoded string to a WideString.

System.WideStrUtils.UTF8UpperCase

Returns the UTF-8 string converted to uppercase.

System.UnicodeToUtf8

Converts a string of Unicode characters into a UTF-8 string.

System.Utf8ToAnsi

Converts a UTF8 string to a string of Ansi characters.

System.WideStrUtils.Utf8ToAnsiEx

Converts a string encoded in UTF-8 to ANSI with a given code page.

System.Utf8ToUnicode

Converts a string of UTF-8 characters to a Unicode string.



See Also