Mailing List Archive

[Bug 804] Locale character encoding disobeyed on interactive session
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@mindrot.org
ReportedBy: pawel@sakowski.eu.org


Take the following configuration:

local$ echo $LANG;locale charmap
pl_PL
UTF-8
local$ ssh user@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.
[Bug 804] Locale character encoding disobeyed on interactive session [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=804

markus@openbsd.org changed:

What |Removed |Added
----------------------------------------------------------------------------
Severity|minor |enhancement
OS/Version|Linux |All
Platform|ix86 |All





------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 804] Locale character encoding disobeyed on interactive session [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=804

djm@mindrot.org changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX



------- Additional Comments From djm@mindrot.org 2004-03-03 09:29 -------
The protocol doesn't include transmission of environment variables. You should
set it at the remote end in .profile or similar.



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