RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
System.UTF8ToWideString Function

Converts an UTF-8 encoded string to a WideString.

Pascal
function UTF8ToWideString(const S: RawByteString): WideString;
C++
BSTR UTF8ToWideString(const RawByteString S);

Call UTF8ToWideString to convert an UTF-8 encoded string to Unicode. S is a RawByteString that contains UTF-8 encoded characters. The result of the function is the corresponding WideString value that represents the string in Unicode. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!