[Bug 2643] Can not ssh with tr_TR.UTF-8 locale (Bad configuration options)

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Mon Dec 12 11:20:30 AEDT 2016


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

Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #2912|0                           |1
        is obsolete|                            |
   Attachment #2913|                            |ok?(dtucker at zip.com.au)
              Flags|                            |

--- Comment #11 from Damien Miller <djm at mindrot.org> ---
Created attachment 2913
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2913&action=edit
Cleaned-up fallback diff

Previous fallback diff with a few fixes:

1) Correct precedence order for environment variables

2) Correctly terminate environment search if we find a non-TR locale

3) Check for a couple more variants of UTF-8 (lowercase and without
hyphen)

4) Also try POSIX.UTF-8 locale if C.UTF-8 doesn't exist.

5) Stick the while mess in utf8.c where it better belongs. I preferred
this rather than doing a xsetlocale, because I expect we'll upstream
something like the final version in future.

6) Add a longwinded XXX comment describing how to fix this better in
the future :)

Thanks to Ingo Schwarze for valuable feedback.

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list