RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
System.AnsiToUtf8 Function

Converts a string encoded in Ansi to UTF-8.

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

System

AnsiToUtf8 converts the string specified by S, which uses the ANSI encoding system, to UTF-8. 

 

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