Hi all
If the unicode (Hindi) labels are placed in the JSP pages itself literaly then they are displayed correctly. But in some forms where Labels are coming from property files, ???? is being displayed in the browser. while in the IDE it is showing Hindi characters. Please help me. I am novice for Java.
Thanx in advance.
Aradhana
7 3430
Did you use the syntax \uXXXX where XXXX are the four hexadecimal nibbles of
the Unicode codepoint?
kind regards,
Jos
Yes I tried it and was displaying properly but it's a tedious job to use the corresponing hexadecimal code corresponding to every letter. Please tell about some editor that converts the letter into its hexadecimal code.
Thanx and Regards,
Aradhana
Yes I tried it and was displaying properly but it's a tedious job to use the corresponing hexadecimal code corresponding to every letter. Please tell about some editor that converts the letter into its hexadecimal code.
Thanx and Regards,
Aradhana
So basically your problem is solved; I don't know of any editor that can do this
but it's quite easy to write a little program that converts any character code xxxx
for xxxx not in the range [32, 127] to convert it to \uxxxx
kind regards,
Jos
So basically your problem is solved; I don't know of any editor that can do this
but it's quite easy to write a little program that converts any character code xxxx
for xxxx not in the range [32, 127] to convert it to \uxxxx
kind regards,
Jos
The JDK comes with a tool to do exactly this: native2ascii.exe http://java.sun.com/developer/JDCTec.../tt0506.html#1
Well look at that: I even never *noticed* that little tool; cute; thanks for mentioning it.
kind regards,
Jos (<--- learned something new again)
Actually I am using struts on RHEL4.0 and I have to display the lables in Hindi. I have created a property file containing Hindi Lables, added it in struts_config.xml. But when I went to set the default language for webpages in Mozilla firefox as Hindi. It is not showing Hindi in the list of Languages while Marathi and Sanskrit are being shown. What to do to bring Hindi in the list of Languages. Please help .
Thanx n regards,
Aradhana
Actually I am using struts on RHEL4.0 and I have to display the lables in Hindi. I have created a property file containing Hindi Lables, added it in struts_config.xml. But when I went to set the default language for webpages in Mozilla firefox as Hindi. It is not showing Hindi in the list of Languages while Marathi and Sanskrit are being shown. What to do to bring Hindi in the list of Languages. Please help .
Thanx n regards,
Aradhana
I know nothing about the Hindi language but this this help? http://developers.sun.com/dev/gadc/t...thai_hindi.pdf.
kind regards,
Jos
Sign in to post your reply or Sign up for a free account.
Similar topics
by: ..... |
last post by:
I have an established program that I am changing to allow users to select
one of eight languages and have all the label captions change accordingly.
I have no problems with English, French, Dutch,...
|
by: Wolfgang Draxinger |
last post by:
I understand that it is perfectly possible to store UTF-8 strings
in a std::string, however doing so can cause some implicaions.
E.g. you can't count the amount of characters by length() |
size()....
|
by: Bill Grigg |
last post by:
I am attempting to set the UnicodeCompression property via code. The
following line "appears" to work:
tdf.Fields("State").Properties("UnicodeCompression").Value =
True
I can see the boolean...
|
by: Julia |
last post by:
Hi,
I need to convert unicode string to ansi string
Thanks in adavance.
|
by: Nick Z. |
last post by:
I have a file that I want to read a UTF-16 unicode string from.
What is the easiest way to accomplish that?
Thanks in advance,
Nick Z.
|
by: apprentice |
last post by:
Hello,
I'm writing an class library that I imagine people from different countries
might be interested in using, so I'm considering what needs to be provided
to support foreign languages,...
|
by: Holger Joukl |
last post by:
Hi there,
I consider the behaviour of unicode() inconvenient wrt to conversion of
non-string
arguments.
While you can do:
u'17.3'
you cannot do:
|
by: candide_sh |
last post by:
Hello,
I created a script with database publishing wizard to convert a SS2005
db into a SS2k db. The script has schema and data and looks very good.
When I try to start the created script in...
|
by: Xah Lee |
last post by:
If i have a nested list, where the atoms are unicode strings, e.g.
# -*- coding: utf-8 -*-
ttt=, ,...]
print ttt
how can i print it without getting the u'\u1234' notation?
i.e. i want it...
|
by: Yves Dorfsman |
last post by:
Can you put UTF-8 characters in a dbhash in python 2.5 ?
It fails when I try:
#!/bin/env python
# -*- coding: utf-8 -*-
import dbhash
db = dbhash.open('dbfile.db', 'w')
db = u'☺'
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
| |