RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
System.UTF8Decode Function

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

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

System

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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!