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

Damien Miller <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #2912|0                           |1
        is obsolete|                            |
   Attachment #2913|                            |ok?([email protected])
              Flags|                            |

--- Comment #11 from Damien Miller <[email protected]> ---
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.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to