>>> The Problem:
>>> On the receiving end (webpage) the the POST variable doesn't arrive
>>> intact. Only the first letter.  In this example case only "t" arrives
>>> (so "t = test" instead of "test = test"
>>> As suggested, the value arrives intact (in this case "test")
>
>> It's no bug. The component user is responsible to format
>> posted data properly.
>
>> Most likely you have to convert the Unicode string to Ansi or
>> UTF-8 first.
>
> Interesting !!!
> So POST and GET data, when sent to a host, are not unicode ?
> And so what I provide to the component when I do a GET, in unicode, is
> converted in the component to something else (UTF 8 ?)
> before it's sent out  ?

HTTP like many if not all TCP/IP protocols are ASCII (not even ANSI, but 
ASCII). Everything else than ASCII has to be converted. Frequently, ANSI is 
also OK provided the sender and receiver are using the same code page. 
Otherwise, ANSI accented characters becomes corrupted.

--
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


-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to