By yunsongyu - 8/5/2012 7:07:51 PM
Pragma
I now use the telnet server, and I found some issues,
my application have use the char (0xA1 0xFC: it is the up-arraw in GB2312, and 0xA1 0xFD:down-arraw in GB2312), these words can been shown under telnet server 7.0 (Version: 7.0 Build 4 Revision 589)
but words can not be shown under version 7.0 Build 9 Revision 1225 or 1715
I check the client log and find the data have been change into one byte char and displayed as "?"
I think it is an issue.
to avoid it, I try to use feature of codepage translate (936 GB2312 or UTF8), and i find an strange problem, all double-byte char have been output twice.
for example: orginal words BC C7 C2 BC, and client will recieve the data BC C7 BC C7 C2 BC C2 BC. (GB2312)
do you have suggestion to solve them?
|
By yunsongyu - 7/23/2013 10:57:42 PM
I think it is console buffer issue for unicode.
for one unicode charater, OS will store two chars in buffer, 1st char with flag 1, and 2nd char with flag 2. the second char should be filterred to solve this issue.
|
By bethredd - 7/24/2013 4:08:52 AM
Can you please provide your OS and current version of TelnetServer you are using so that we can try to duplicate the issue.
If you are using Unicode, then you should use the Unicode translation for both the server and the client. Not the specific county code page. |
|