Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: Enable D07multibyte.ztst for locales ending in .utf8



On Mon, 27 Apr 2009 03:11:26 +0000
Paul Ackersviller <pda@xxxxxxxxxxxxxxxx> wrote:
> On Sun, Apr 26, 2009 at 05:18:21PM +0000, Paul Ackersviller wrote:
> > I had closer look at why Test/D07multibyte.ztst was being skipped on
> > HP-UX 11.11, I guess it was just too obvious to spot sooner.  The locale
> > on the system is en_US.utf8, but that name was being transformed before use.
> 
> A bit of elaboration on this, since I was surprised to find the locales
> on my Linux boxen also named en_US.utf8, etc.  How could the orginal
> test script have been working then?  It appears that on Linux you can
> set LANG=en_US.UTF-8 and get the (presumably) desired result.

Possibly this changed in the meanwhile but it looks like it doesn't care.
"UTF-8" is what's retrieved by nl_langinfo(CODESET).

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070



Messages sorted by: Reverse Date, Date, Thread, Author