[Bug 804] Locale character encoding disobeyed on interactive session

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Sun Feb 29 07:54:15 EST 2004


http://bugzilla.mindrot.org/show_bug.cgi?id=804

           Summary: Locale character encoding disobeyed on interactive
                    session
           Product: Portable OpenSSH
           Version: 3.8p1
          Platform: ix86
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P4
         Component: ssh
        AssignedTo: openssh-bugs at mindrot.org
        ReportedBy: pawel at sakowski.eu.org


Take the following configuration:

local$ echo $LANG;locale charmap
pl_PL
UTF-8
local$ ssh user at remote
[...]
remote$ echo $LANG;locale charmap
pl_PL
ISO-8859-2

Now, if I invoke any locale-aware application on the remote machine (tar --help
is enough), any non-ASCII letter it sends over the net (try to) appear on my
console encoded in ISO-8859-2, that is, contrary to my terminal's settings.

Note that it's perfectly valid in glibc to pick any character encoding for the
locale one wants to use.

I believe that the client and the server should agree on a common interpretation
of the octets sent over the net (server->client or vice versa) as characters and
provide some sort of on-the-fly conversion.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the openssh-bugs mailing list