Java 7 default locale

后端 未结 7 1668
忘了有多久
忘了有多久 2020-11-28 11:25

I have just installed jre7 and I\'m surprised to see that my default locale is now en_US. With jre6 it was de_CH.

What is different with jre7? Is the default locale

7条回答
  •  暖寄归人
    2020-11-28 11:56

    There seems to be some changes regarding Locale in Java 7, namely differentiation between UI and 'user' locale. See this. There is now setDefault(Locale.Category, Locale). However, this does not really explain what you are experiencing - I'm merely pointing out the fact that there has been changes in Java 7 regarding locale handling.

提交回复
热议问题