[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 10:10:03 AEDT 2016


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

--- Comment #10 from Damien Miller <djm at mindrot.org> ---
(In reply to Numan Demirdöðen from comment #8)

> Do I have to compile ssh with the last patch you wrote in order to
> test whether patched ssh fixes the bug or not?

Yes, you'd need to recompile. I've already reproduced and tested the C
locale fix though.

(In reply to Colin Watson from comment #9)
> Wow, that's really pretty ugly, and I'm not certain that Turkish is
> the only locale with this problem.
> 
> How about a simple char[256] table lookup instead?  That shouldn't
> be too ugly (still less code than the complicated setlocale
> fiddling) and it ought to deal with EBCDIC.

I think falling back to C locale is preferable. It matches the
behaviour for OpenSSH <7.3 best while giving us a chance at preserving
UTF-8 output. I'll tidy up that patch - there are a couple of minor
problems with it.

-- 
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