• Post Reply Bookmark Topic Watch Topic
  • New Topic

Chinese Locale

 
Xu Song
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
When I run the sample Swing application Notepad.jar,which is existing under %JDK_HOME%\DEMO\JFC\Notepad.
I've tried with several differnt language/region options:
1)java -Duser.language=fr -Duser.region=FR -jar Notepad.jar
2)java -Duser.language=en -Duser.region=US -jar Notepad.jar
3)java -Duser.language=zh -Duser.region=CN -jar Notepad.jar
The English and Franch texts just displayed correctly in the first two tests.But in Chinese locale,the Chinese texts displayed with square block(unreadable).
Questions:
1)Does it mean my English Windows98 cannot diplay Chinese fonts?
2)I'm using JDK v1.4.2,is it necessary to modify font.properties files?(like copy font.properties.zh as font.properties)
Thanks in advanced!
xusoo
 
Bob Dobalina
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Xu, the boxes mean your system cannot display the Chinese font. Unfortunately I'm not too familiar with i18n in Windows 98, so I don't know what support it has for Chinese, but I'm thinking you may need to download/install something from Microsoft to enable the Chinese font.
-tim
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!