<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>12 Apr 2018 05:25:00 Z</lastBuildDate><pubDate>11 Apr 2018 17:14:00 Z</pubDate><description>Hello Everyone,&#13;
&#13;
I'm having big troubles with Unicode strings. I don't think that it's a WinDev problem but more a lack of knowledge by myself.&#13;
&#13;
Here's what I'm trying to do :&#13;
&#13;
I'm communicating with an API on a webserver. The communication itself seems to be working, the problem is that I'm receiving unicode characters and don't know how to handle them correctly.&#13;
&#13;
This the connecting part of the code&#13;
&#13;
MyRequest.URL = gsWS_URL + "get_user/" + NumToString(gnClientNumber)&#13;
MyRequest.ContentType = "application/json"&#13;
MyRequest.Header["X-API-KEY"] = gsTokenCode&#13;
MyRequest.Header["Username"] = gsWS_User&#13;
MyRequest.Header["Password"] = gsWS_Passw&#13;
&#13;
gMyResponse = HTTPSend(MyRequest)&#13;
&#13;
sResponse = gMyResponse..Content&#13;
&#13;
sResponse is decladered as a normal string, and contains something like this :&#13;
&#13;
"result":"success","DealerID":"17","Koppelveld":"5069","RoepNaam":"TESTDONGLE Patrick Thijs 1","PC_KEY":"PATRICK8","DatabaseTaal":"1","ProgrammaTaal":"1","UserLevel":"5","U_Adres":"Rik Woutersstraat 27","U_Postcode":"2800","U_Gemeente":"Mechelen \?\?\?","U_Land":"BE"&#13;
&#13;
The problem is in the part "U_Gemeente":"Mechelen \?\266a\?"&#13;
I can't get this string to be displayed correctly, the unicode codes should display 3 musicnotes right after the word Mechelen.&#13;
But i'm not able to achieve this.&#13;
&#13;
Is there anyone who can put me on the right track with this ?&#13;
Your help is really appreciated&#13;
&#13;
grtz&#13;
&#13;
Patrick</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/65187-unicode-hell/read.awp</link><title>UNICODE Hell :(</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/65187-unicode-hell-65195/read.awp</comments><pubDate>12 Apr 2018 05:25:00 Z</pubDate><description>unicode in WD windows is UTF-32 LE which is default use in windows but it's not same with UTF-16 which default use in non-window…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/65187-unicode-hell-65195/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/65187-unicode-hell-65195/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/65187-unicode-hell/read.awp">UNICODE Hell :(</source><title>Re: UNICODE Hell :(</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/65187-unicode-hell-65191/read.awp</comments><pubDate>11 Apr 2018 20:32:00 Z</pubDate><description>Hello King,&#13;
&#13;
that's already a good starting point.&#13;
Thank you very much !&#13;
&#13;
grtz&#13;
&#13;
Patrick</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/65187-unicode-hell-65191/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/65187-unicode-hell-65191/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/65187-unicode-hell/read.awp">UNICODE Hell :(</source><title>Re: UNICODE Hell :(</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/65187-unicode-hell-65190/read.awp</comments><pubDate>11 Apr 2018 20:04:00 Z</pubDate><description>Hi&#13;
&#13;
Pls see below clumsy code:&#13;
&#13;
&#13;
sHex1, sHex2, sHex3 is Ansi string&#13;
sUnicode is Unicode String&#13;
&#13;
sAnsi is string = [&#13;
"U_…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/65187-unicode-hell-65190/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/65187-unicode-hell-65190/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/65187-unicode-hell/read.awp">UNICODE Hell :(</source><title>Re: UNICODE Hell :(</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/65187-unicode-hell-65188/read.awp</comments><pubDate>11 Apr 2018 20:00:00 Z</pubDate><description>Hello Fabrice,&#13;
&#13;
You're right, there's no such thing as a "normal" string, I've tried ANSI as well as UNICODE, without any resu…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/65187-unicode-hell-65188/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/65187-unicode-hell-65188/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/65187-unicode-hell/read.awp">UNICODE Hell :(</source><title>Re: UNICODE Hell :(</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/65187-unicode-hell-65189/read.awp</comments><pubDate>11 Apr 2018 19:35:00 Z</pubDate><description>Hi Patrick,&#13;
&#13;
your fist problem is here :&#13;
&gt;&gt;sResponse is decladered as a normal string&lt;&lt;&#13;
&#13;
There is no such thing as a 'NORMA…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/65187-unicode-hell-65189/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/65187-unicode-hell-65189/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/65187-unicode-hell/read.awp">UNICODE Hell :(</source><title>Re: UNICODE Hell :(</title></item></channel></rss>
