-
Bug
-
Resolution: Duplicate
-
P5
-
None
-
1.1
-
None
-
sparc
-
solaris_2.5
Name: mc57594 Date: 01/20/97
I am in Germany so I have to build programs which are able
to work with
the German umlaute like ae, oe,ue.. (\144,\166,\174). (HTML ä
ö..)
I am able to write this chars with my keyboard ( compose a", compose
o"..)
in a xterm or any other X application but not in a Java Program.
The input field is a TextField.
In a applet I dont test it. (Netscape is able to work with umlaute)
If I write a umlaut in a xterm window and copy it in a Java TextField
I am able
to insert suche a char.
A other BUG is in the java.net.URLEncoder.encode class because this
look only
for the ASCII value from 0..256 (dontNeedEncoding = new BitSet(256);)
I do a print out with this lines :
for (int ii = 0; ii < schauspieler.length(); ii++)
{
int cc = (int)schauspieler.charAt(ii);
System.out.println(ii+" - "+schauspieler.charAt(ii)+"-"+cc);
}
and get this result :
0 - ?-65508
1 - ?-65526
2 - ?-65532
3 - ?-65476
4 - ?-65494
5 - ?-65500
6 - ?-65503
for the chars äöüÄÖÜ&szig;
I think here a a lot of thinks to solve....
I view the Java SRC src/java/net/URLEncoder.java and wonder that this
routine
dont get a array outof bound exception ?
======================================================================
- duplicates
-
JDK-4025732 URLEncoder.encode() doesn't work with non-ASCII characters
-
- Closed
-
- relates to
-
JDK-4028628 DateFormat class: German value for March incorrect
-
- Closed
-
-
JDK-4028638 DateFormat class: Italian value for Tuesday incorrect
-
- Closed
-