commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J.Pietschmann" <j3322...@yahoo.de>
Subject Re: unicode support
Date Mon, 09 Jun 2003 18:36:40 GMT
Ted Slusser wrote:
> Hello,  I am trying to specify a unicode character in
> an xml file that is consumed by digester.  When the
> xml file is processed digester converts the unicode to
> a literal string.  e.g. '\u00AE' becomes the string
> "\\u00AE" which actually renders to "\u00AE".  Is
> there some way to support unicode in digester?

Your source is XML? In this case you need to use XML
character references instead of Java Unicode escapes:
  &0x00AE;
(including the semicolon) would do the trick. For
additional info read the XML spec:
  http://www.w3.org/TR/REC-xml

J.Pietschmann


Mime
View raw message