tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <>
Subject Re: retrive Arabic data
Date Mon, 01 Jun 2009 17:44:43 GMT
Hash: SHA1


On 5/30/2009 10:55 AM, George Sexton wrote:
> Christopher Schultz wrote:
>> On 5/28/2009 3:59 PM, George Sexton wrote:
>>> The issue is the default character set for Java. I've noticed that at
>>> least at one point in time, the default character set for Java running
>>> under windows was Windows-1252. Running under Linux it defaults to
>>> ISO-8859-1.
>> That's a bold statement.
> Clearly you missed the part "AT ONE POINT IN TIME". On my systems, when
> I was trying to figure it out at one point in time, that's what I saw.

Easy, Cujo. It's not clear from your post that "AT ONE POINT IN TIME"
the Linux default was something specific. It's only clear that the
Windows default enjoys that qualification.

>>> 1) Default Charset on each platform.
>> - -1
> Figuring out the default on different platforms is step 1 of
> understanding you have a problem. There's a difference between someone
> telling you that there's a problem, and seeing it. Fully understanding
> the problem is a growth point that will prevent it from happening again.

While proper enlightenment does require as much information as possible,
solving this problem does not involve determining the default charset on
any platform. I believe you run the risk of confusing the OP by adding
this variable to the equation.

> If you use something
> like one of the ISO encodings then you're tied to English

Don't tell that to anyone who speaks Bosnian, Croatian, Czech,
Hungarian, Polish, Romanian, Serbian, Slovak, Slovenian, Upper Sorbian,
Lower Sorbian, Finnish, Danish, German, French, Italian, Spanish, or
Portuguese. There are probably others covered by the ISO character sets.

>> I would also check the system you're on /for the browser/. I had a
>> problem where one machine could properly render Chinese characters while
>> another one couldn't: the server was 100% correct but the client was
>> failing to display them properly. There's nothing the server can do
>> about that!
> I've seen this many years ago, but not recently (5 years or so).

Certain versions of Windows XP do not ship with appropriate fonts for
Chinese and other languages: you have to install a multi-language pack
in order to support them. My version of Vista did not appear to have
this problem, but I'm not sure if that's because they changed something
specific. I don't have a volume license for Vista (there's just no
reason to upgrade everyone here to change the color of the Start menu ;).

- -chris
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla -


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message