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

--- Comment #6 from Damien Miller <[email protected]> ---
I think a reasonable answer is to decide whether the user's terminal is
UTF-8 capable (probably using $TERM, locale and/or platform) and, if
so, prepare the strings for display using stringprep
(http://www.ietf.org/rfc/rfc3454.txt)

For everything else, continue to use strnvis(3)

I have the beginnings of a minimal stringprep implementation, but I'll
need some guidance on how to reliably decide whether UTF-8 is safe for
output (or some way to render it for the user's current terminal).

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

Reply via email to