RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
System.UTF8Decode Function

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

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

Call UTF8Decode to convert a UTF-8 string to Unicode. S is a string encoded in UTF-8. UTF8Decode returns 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!