[PATCH] Identify language and country based on LC_MESSAGES rather than LC_CTYPE
12 Jun
2007
12 Jun
'07
2:19 p.m.
Hi, The attached patch changes the code that currently parses LC_CTYPE to set encoding, encoding variants, language and country to use LC_CTYPE just to set the encoding, and instead uses LC_MESSAGES to set country and language. The reason for this change si that in a system where LC_MESSAGES is set to English, you'd expect Java to answer in English, rather than Italian by default (this is true for both JDK's commands and for Java-based interfaces). The patch is probably rough, so I'd be happy to hear comments on what to improve of it. -- Diego "Flameeyes" Pettenò http://farragut.flameeyes.is-a-geek.org/
6844
Age (days ago)
6844
Last active (days ago)
0 comments
1 participants
participants (1)
-
Diego 'Flameeyes' Pettenò