开发者

implementing big5 over telnet protocol?

开发者 https://www.devze.com 2023-04-07 19:58 出处:网络
I\'ve implemented a telnet client and one of the feature requests is to support big5 encoding. How is Big5 implemented over telnet, when only 7-bit character codes are 开发者_开发知识库supported? The

I've implemented a telnet client and one of the feature requests is to support big5 encoding. How is Big5 implemented over telnet, when only 7-bit character codes are 开发者_开发知识库supported? The Big5 "lead bytes" (0x81 to 0xfe) are all in the range above 0x7f reserved by the telnet protocol. Of course, if I took out VT100 escape code parsing and treated non telnet-escape-sequence bytes as plain big5-encoded text, that would probably work, but I don't know if that's the standard (if there even is a standard). Also, is there an equivalent to the VT100 terminal protocol for Big5 encoding?

FYI: This project is written in C# and runs on windows phone silverlight.


I think you want RFC2066, which describes the TELNET CHARSET Option.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号