This week's book giveaway is in the
We're giving away four copies of
Arduino in Action
and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Arduino in Action
this week in the
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
Joined: Jul 28, 2006
Aug 21, 2006 06:19:00
I am using Struts 2.0.
I am using i18n in my application. Main purpose of this application is to show data in Chinise Character, which is working fine. But this is not working for Hindi Character (Country = India).
I first persent layout of my application:
My index form contains 3 url, English, Chinese & Hindi.
On clicking English, browser presents data in English, Same for Chinese.
I have used 3 .properties file with same key but different values.
Using Locale object I am setting locale as
country = request.getParameter("country").toString();
String language = request.getParameter("language").toString();
This code is written in ones of the action form. Now ever thing works i.e all characters are displayed but on Hindi characters are not displayed.
Necessary font for Hindi is also installed on Machine.
Can any one sort out this?
Joined: May 05, 2006
Aug 21, 2006 09:55:00
I'm not sure if this will help, but have you ran native2ascii on your app resources file that is giving you trouble?
I'm not an expert on i18n, but it is worth a shot.
native2ascii.exe is part of the jdk.
I agree. Here's the link:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: Internationalization (i18n)
how to translate form data using i18n
JSTL formating is not working after setting the locale
Character set encoding issue
add HINDI language in firefox
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013