RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
System.Utf8ToAnsi Function

Converts a UTF8 string to a string of Ansi characters.

Pascal
function Utf8ToAnsi(const S: UTF8String): string;
C++
AnsiString Utf8ToAnsi(const UTF8String S);

System

Call Utf8ToAnsi to convert a UTF-8 string to Ansi. S is a string encoded in UTF-8. Utf8ToAnsi returns the corresponding string that uses the Ansi character set. 

 

UnicodeToUtf8 

Utf8Encode 

Utf8ToUnicode 

Utf8Decode 

AnsiToUtf8

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!