cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Enke Michael <>
Subject Unicode in Strings?
Date Wed, 06 Feb 2002 14:00:49 GMT
maybe this is not the right forum, but probably interesting here too.
I used for the "Euro-sign" (new european currency) this construct:
String cur = "&#x20AC;";
This was working for JDK from IBM 1.3.0
Now I installed Suns 1.3.2 and this gives me an error.
Here I have to use:
String cur = "\u20AC";
This also works for IBM's JDK.

Is this both (in principle) ok or should the first notation be avoided?


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

View raw message