fromANSIToStringUtf8

fromANSIToStringUtf8(lcid: Integer): StringUtf8;

The fromANSIToStringUtf8 method of the Binary primitive type converts the receiver to a UTF8 string using the code page for the locale specified by the lcid parameter and returns the resulting string.

Some code pages (for example, the one used in the People’s Republic of China locale) contain multi-byte characters as well as single-byte characters.