[tz] [PROPOSED PATCH 3/3] tzselect now uses UTF-8 if available

Paul Eggert eggert at cs.ucla.edu
Mon May 4 06:55:37 UTC 2015


random832 at fastmail.us wrote:
> Using a UTF-8 locale won't work if the terminal isn't UTF-8. It should
> be piping utf-8 output through iconv -f utf-8 and using the user's
> locale.

Thanks, good catch.  Also, the 'echo' commands should guard against backslashes 
in the data.  Proposed patches attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-tzselect-no-longer-mishandles.patch
Type: text/x-patch
Size: 4258 bytes
Desc: not available
URL: <http://mm.icann.org/pipermail/tz/attachments/20150503/061e8e18/0001-tzselect-no-longer-mishandles.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Better-fix-for-tzselect-in-non-UTF-8-locales.patch
Type: text/x-patch
Size: 2614 bytes
Desc: not available
URL: <http://mm.icann.org/pipermail/tz/attachments/20150503/061e8e18/0002-Better-fix-for-tzselect-in-non-UTF-8-locales.patch>


More information about the tz mailing list