cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Enke Michael <Michael.E...@wincor-nixdorf.com>
Subject Unicode in Strings?
Date Wed, 06 Feb 2002 14:00:49 GMT
Hi,
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?

Regards,
Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message