Thank you guys,

so simple yet so hard to see, it makes sense.


On Thu, Feb 26, 2009 at 2:29 PM, Olivier Sannier <obo...@free.fr> wrote:

> wayne forrest wrote:
> > I am expecting ASCII text yet I get the Chinese
> Because you use your "buffer" as an array of byte, yet you declare it as
> an array of Char.
> In Delphi 2009 Char is Unicode, hence the chinese characters because two
> bytes you received are combined to form one unicode character.
> What you want to do is to replace Char by AnsiChar for your buffer.
> --
> 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
>
-- 
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