Converts an ANSI string representation into a UTF8-encoded byte sequence.
Kernel.bdh
ToUTF8( in sSource : string ) : string;
Converted string
Parameter | Description |
---|---|
sSource | Source string to be converted. |
dcltrans transaction TMain var sResult : string; begin WebPageUrl("http://testsite.company.com.cn"); WebParseHtmlBound(sResult, STRING_COMPLETE, "Home", "Street"); WebPageLink(ToUTF8("ÄÄ/ÜÖÖÜ"), "eBay"); writeln(FromUTF8(sResult)); end TMain;