• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Chinese Locale

 
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
 
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!