[Bug 1632] [PATCH] UTF-8 hint sftp-server extension

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Sat Jan 9 01:40:02 EST 2010


https://bugzilla.mindrot.org/show_bug.cgi?id=1632

--- Comment #13 from Salvador Fandiño <sfandino at yahoo.com> 2010-01-09 01:40:01 EST ---
Created an attachment (id=1770)
 --> (https://bugzilla.mindrot.org/attachment.cgi?id=1770)
...and guess encoding from environment

This patch is an extension of attachment 1769 that also tries to guess
the encoding from the environment:

  sftp-server -S

checks the locale configuration and gets the charset from there.

When the locale config returns ASCII as the charset, it is
automatically promoted to ISO-8591-1.

OpenBSD libc does not get the locale configuration from the environment
 (or, AFAIK, any other globally configurable place) as GNU libc does
so, under this OS, the charset is always found to be ASCII and then
promoted to ISO-8591-1.

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list