Another locale test program - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Another locale test program
Date
Msg-id 200407132221.05148.peter_e@gmx.net
Whole thread Raw
Responses Re: Another locale test program
Re: Another locale test program
List pgsql-hackers
Regarding the encoding/locale matching issue, here's another test 
routine I would like you to run if you want to see your operating 
system supported.  It reflects more accurately the actual 
implementation I'm working on.

Compile the attached test program and then run

for x in `locale -a`; do LC_ALL=$x ./test; done | sort -u

If you don't have a locale command, maybe something like this will work:

for x in `ls /usr/share/locale`; do LC_ALL=`basename $x` ./test; done | 
sort -u

I already have Linux and FreeBSD covered.  Thanks.

(If the program doesn't compile or misbehaves, that would be useful 
information as well.)

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/

pgsql-hackers by date:

Previous
From: "Magnus Hagander"
Date:
Subject: Re: Is "trust" really a good default?
Next
From: Simon Riggs
Date:
Subject: Re: Point in Time Recovery