Rework locale handling
authorChris Lamb <chris@chris-lamb.co.uk>
Fri, 8 Aug 2008 18:48:46 +0000 (19:48 +0100)
committerChris Lamb <chris@chris-lamb.co.uk>
Fri, 8 Aug 2008 18:48:46 +0000 (19:48 +0100)
commit335d3be3a325338956ede23a3fc27b9e907adbed
treefef297aae1bc26389afaf3c98eb7af02c60244b5
parent4e024dff26b33878ca7ef61fc108fc2de7d5c4cb
Rework locale handling

 * Support all codepages, not just UTF-8 ones.

 * Although UTF-8 variants are still preferred, specifying an invalid
   codepage as an extension to a known language will not necessarily result
   in en_US.UTF-8 being chosen - it will try and use an alternate.

 * Fixes an issue whereby an unknown locale would end up as a blank
   "language" in /etc/kde3/kdm/kdmrc instead of en_US.

 * General tidying of the code.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
scripts/live-bottom/14locales