Never mind. I figured out that the data I get is UTF8, so I need just convert to wideString.

Met vriendelijke groeten,
Wilfried Mestdagh

Op 14-02-17 om 19:56 schreef Wilfried Mestdagh:
Hi,

I have a Delphi7 project which I need to modify. In a TCP connection I get data from another application witch is mixed Unicode and 'normal' text. The 'normal' text I have to convert to Unicode but not the Unicode part.

How to recognize which part of the data is Unicode?

Example in UrlEncoded where there is a part in text, a blank and 3 characters in Arabic and Chinese:
Arabic%3A%20%D8%B4%D8%B5%D8%B6
Chinese%3A%20%E6%9C%AC%E7%BD%91


_______________________________________________
Delphi mailing list
[email protected]
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

Reply via email to