Locale setting on a Red Hat box

Posted by sasuke on Server Fault See other posts from Server Fault or by sasuke
Published on 2010-10-24T18:37:43Z Indexed on 2010/12/28 15:55 UTC
Read the original article Hit count: 205

Filed under:
|
|

Hi all,

Recently our organization got a couple of server boxes which are I guess present in some data-center in UK. The problem is that for some reason the default Locale representation in Java on that server returns en_US instead of the expected en_GB (I confirmed this by running a code on that server which simply outputs Locale.default()). I am pretty sure this has got something to do the way in which the boxes were set up.

My question is: what would be the approach to fix this issue now that the OS has been installed? Is there any way I can for a given SSH session set the locale as en_GB instead of the current en_US?

TIA,
sasuke

© Server Fault or respective owner

Related posts about java

Related posts about redhat