OpenSSH banner doesnot display multibyte characters like korean

Ángel González keisial at gmail.com
Wed Nov 28 08:12:44 EST 2012


Bob Rasmussen wrote
>> Also, doesn't the SSH specification state that UTF-8 is the only allowable
>> encoding for the banner?

It does:
> string    message in ISO-10646 UTF-8 encoding [RFC3629 <http://tools.ietf.org/html/rfc3629>]
http://tools.ietf.org/html/rfc4252#section-5.4

Irek Szczesniak wrote:

> In that case the PRC government will not allow openssh deployment for
> government usage. GB18030 violations are NOT tolerated. The rules for
> commercial software products in PRC are quite simple: you support
> GB18030 or their government will shut your China branch down.
> Permanently. There's no leeway for 'why?', 'if?' or 'can be have more
> time?' (than the usual two months you get when they find out that you
> violate their law).
If you *must* show the characters in GB18030, then the ssh client should
translate the banner from UTF-8 to GB18030.
The protocol bytes are in UTF-8, but that is an implementation detail, just
as windows workstations using UTF-16 on its filesystem.




More information about the openssh-unix-dev mailing list