Problems With Multi-Language

Discussion created by sunny.szsuj on Dec 13, 2006
Latest reply on Dec 14, 2006 by sunny.szsuj


    I''m a chinese and I want to translate spark into chinese.

Then I copy to in the same directory.

And Translate this file in chinese.

    But When I start spark, all the chinese character displays as double question mask.

    So I write some code like the following :


             String s = Res.getString("ok") ;


             System.out.println(new String(s.getBytes("ISO-8859-1"),"GBK"));


the second line''s output is wrong, the third line''s output is correct.

What''s goint wrong ? What should I DO to do the localization??????


Message was edited by: sunny.szsuj