Re: [twsocket] Charset conversion On-The-Fly

2010-03-28 Thread Arno Garrels
Arno Garrels wrote: > My sample above as two Unicode code points: > > UStr := #$FF5E#$FF5E; > > Try to convert this string with WideCharToMultiByte() to ansi code > page 50220, the result is two question marks "??". Both MLang's > ConvertINetUnicodeToMultybyte() and iconv give the correct result.

Re: [twsocket] Charset conversion On-The-Fly

2010-03-28 Thread Arno Garrels
t as said above their implementation is buggy and incomplete. -- Arno Garrels > > > -- > francois.pie...@overbyte.be > The author of the freeware multi-tier middleware MidWare > The author of the freeware Internet Component Suite (ICS) > http://www.overbyte.be >

Re: [twsocket] Charset conversion On-The-Fly

2010-03-27 Thread Francois PIETTE
ttp://www.overbyte.be - Original Message - From: "Arno Garrels" To: "ICS support mailing" Sent: Saturday, March 27, 2010 10:52 PM Subject: [twsocket] Charset conversion On-The-Fly Hi, You won't believe it, Windows neither provides an API to convert true mult

[twsocket] Charset conversion On-The-Fly

2010-03-27 Thread Arno Garrels
Hi, You won't believe it, Windows neither provides an API to convert true multi-byte character streams On-The-Fly to Unicode nor an API to determine the number of bytes of such multi-byte character sequences. I do not speak about the double-byte charsets. Let's say we receive an ansi-stream en