>>>>> Stef Epardaud writes:

    Stef> the way i used locales is by making it an argument to java,
    Stef> this works fine under jdk1.1 and jdk1.2 pre-v1.

    Stef> java -Duser.language=nl localetest

    Stef> if i run this test with jdk1.1 or jdk1.2 pre-v1 i get the
    Stef> Locale.getDefault() to return me 'nl'

    Stef> but with jdk1.2 pre-v2 i get 'en_US'

The property works, it just has no effect on the default locale.
Try 'LC_ALL=nl_NL java localetest'. 

I'm not sure what's the right result here: The Solaris JDK 1.2 says
'en', the Windows JDK 1.2.2 says 'nl_US'.


        Juergen


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to