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

Reply via email to