OSDN Git Service

locale: gen_wc8bit: try to find UTF8 locale automatically
authorMike Frysinger <vapier@gentoo.org>
Sun, 28 Jun 2009 18:43:01 +0000 (14:43 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sun, 28 Jun 2009 18:43:01 +0000 (14:43 -0400)
commit0e14b8f425c562749d3821a42414b1ce6b3b0923
treee580a0c6dbc4779b47b4968a5610f8cb23d47dc1
parent8d005aa103606748e113d1a7a09cfb2aeb6f7140
locale: gen_wc8bit: try to find UTF8 locale automatically

Rather than require everyone to have en_US.UTF-8 when we really need any
UTF8 locale, do a scan for possible UTF8 locales if the default en_US does
not exist.  Hopefully this should make the utility "just work" for most
people.

Reported-by: Daniel Cordero <theappleman@gmail.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
extra/locale/gen_wc8bit.c