This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

multi lingual site in struts

 
jai deep
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi everybody,

I am developing a multilingual site in german and hindi. I have create different application resources file .Everything is working fine.

Now my problem is that how to get unicode text of fonts. If i have written it in any language then how to convert it in to unicode.I just know that command native2ascii convert in unicode.
any suggestion is welcome

jai deep

[ January 16, 2005: Message edited by: jai deep ]
[ January 17, 2005: Message edited by: jai deep ]
 
Surasak Leenapongpanit
Ranch Hand
Posts: 341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check your os that supports german and hindi characters or not.
 
Mary Wallace
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Deep
Can you pls shed some light how you created application Resource file?
 
jai deep
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

My os windows Xp supports hindi. Now I am using it as default by setting through control panel.

When i am putting some text as दिल्ली in applicationResource file.It is working and converted to hindi.

But i am not able to convert text written in hindi(Mangal font) to Unicode. Using following command
C:\>native2ascii -encoding UTF-8 ApplicationResources.properties ApplicationResources_hi.properties

if I am trying using this then in webpages i am getting (?) as converted text.

please help
Jai deep
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic