> What do you have to do to make this simple Browser properly display
> these characters? DO you know of any other java based Browser that can
> do that?
I don't know the program, but it's not only the application but
the font you use for displaying the characters. If the font in
use don't contain the characters they are often shown as boxes
(Java would replace them by ?, if there would be problems with
the encoding being used for reading/writing the characters). So
in the first place you should switch to a font, that contains
the complete Unicode-set.
Regards, Lothar

Signature
Lothar Kimmeringer E-Mail: spamfang@kimmeringer.de
PGP-encrypted mails preferred (Key-ID: 0x8BC3CD81)
Always remember: The answer is forty-two, there can only be wrong
questions!
onetitfemme - 24 Sep 2006 23:51 GMT
well actually I think it is an oversight from the developers thinking
they can cast all web pages as ASCII ones.
.
Something that I found a little bit odd is that when I tried to view
say CHinese pages using JBrowser (www.bysoft.se/sureshot/jbrowser/)
which content type were tagged as:
.
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
.
you could see chinese characters showing on the window bar of the
java/Swing WIndow (the exact same ones showing on Firefox and on the
"title" tag in the source), but the java app is not displaying actual
chinese chars
.
http://juyou.linktone.com/default.lt
.
I think the String class' UTF-8 based ctor should be used and probably
the JTextPanes need some extra UTF-8 tweaking
.
http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html#String(byte[],%20i
nt,%20int,%20java.lang.String)
.
otf
Oliver Wong - 25 Sep 2006 15:08 GMT
> well actually I think it is an oversight from the developers thinking
> they can cast all web pages as ASCII ones.
[quoted text clipped - 16 lines]
> .
> http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html#String(byte[],%20i
nt,%20int,%20java.lang.String)
FWIW, I've written a Java application that can display Chinese
characters just fine (it's actually a flashcard-like tool for learning
Japanese), and I didn't have to do anything special. Java supports Unicode
(the basic multilingual plane part of it, anyway, which include
Chinese/Japanese/Korean) by design.
- Oliver
onetitfemme - 26 Sep 2006 18:29 GMT
> I've written a Java application that can display Chinese characters just fine ...
otf: you have ...
.
> Java supports Unicode
otf: Does it? ...
.
I was clearly speaking about opening -non-ASCII pages- in basic,
java-based Browsers.
otf
Oliver Wong - 26 Sep 2006 19:50 GMT
>> I've written a Java application that can display Chinese characters just
>> fine ...
[quoted text clipped - 6 lines]
> java-based Browsers.
> otf
Sorry, I had somehow gotten the impression you were speaking about
whether java is internationalized by design or not.
- Oliver