Question

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.

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top