the way i used locales is by making it an argument to java, this works fine
under jdk1.1 and jdk1.2 pre-v1.
java -Duser.language=nl localetest
if i run this test with jdk1.1 or jdk1.2 pre-v1 i get the
Locale.getDefault() to return me 'nl'
but with jdk1.2 pre-v2 i get 'en_US'
the following program illustrates it.
-----------8<------------------
import java.util.*;
/**
* stupid test class
*/
public class localetest {
public static void main(String[] args){
System.err.println(Locale.getDefault());
}
}
-----------8<------------------
is that a feature or a bug ?
methinks bug but i'd like to know.
all my apps are localized so.... it IS a problem.
--
~~~~~~~~~~~~
~ ~ I often thought Lunatech's office was shared by us and
~ Stef ~ another company, for we're sharing food also with them.
~ the ~ But in fact, it's more of a boss's trick to make us work
~ i n ~ on their model, night and day, for they are ants.
~ n a ~
~ f i ~
~ ormagic ~
~ ~
~~~~~~~~~~~~
These are only some stupid signatures, i never said you had to read
them...
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]