Intrafoundation Software

 


 

tcpclient support Chinese GB code and unicode? - Forums

You may post here on any subjects related to this site or the software therein. (Most everything on this site is tied into the forums so that you may leave or post comments about it.)

List all    New Post   

Forums tcpclient support Chinese GB code and unicode?

      Date: September 11 2002 11:40 PM
Hi,

I want to know whether tcpclient support sending Chinese GB code and unicode text in SendRN command?

Before issuing the sendRN command, I print the data (with Chinese GB code) and it is fine. But at the receving end, the receving text has something like "tcp.cpp Line 793] REC", not the expected Chinese GB code.

Do you know how to solve it. Do I need to do some encoding (such as URL encoding) before sending and decode it at the receving end? Any other solution such as upgrade? Thanks.

The tcpclientcom.dll version I am using is of date 11 July 2002.

Regards,
Kenny
Delete    Edit    Reply   

Forums RE:tcpclient support Chinese GB code and unicode?

      Date: April 09 2003 09:02 AM
No. It sends only 8-bit data.

One of these days when I have the time I was going to make a unicode-aware version. You can get around this issue by treating the data as pure data and not text -- ie, use Recv and parse the raw data yourself.

A bit of a hassle though.

--min
Delete    Edit    Reply