chiark / gitweb /
Try en_US.UTF-8 as well as en_GB.UTF-8 and en.UTF-8
authorIan Jackson <ian@liberator.(none)>
Wed, 18 Nov 2009 21:36:40 +0000 (21:36 +0000)
committerIan Jackson <ian@liberator.(none)>
Wed, 18 Nov 2009 21:36:40 +0000 (21:36 +0000)
yarrg/convert.c

index ce3ad0b..b7925b8 100644 (file)
@@ -233,6 +233,7 @@ int main(int argc, char **argv) {
 
   sysassert( setlocale(LC_MESSAGES,"") );
   sysassert( setlocale(LC_CTYPE,"en_GB.UTF-8") ||
 
   sysassert( setlocale(LC_MESSAGES,"") );
   sysassert( setlocale(LC_CTYPE,"en_GB.UTF-8") ||
+            setlocale(LC_CTYPE,"en_US.UTF-8") ||
             setlocale(LC_CTYPE,"en.UTF-8") );
 
 #define ARGVAL  ((*++argv) ? *argv : \
             setlocale(LC_CTYPE,"en.UTF-8") );
 
 #define ARGVAL  ((*++argv) ? *argv : \