From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Green To: java@gcc.gnu.org Cc: rhug-rhats@sources.redhat.com Subject: property files and character encodings Date: Sun, 09 Sep 2001 22:09:00 -0000 Message-id: <200109100509.WAA10075@fencer.cygnus.com> X-SW-Source: 2001-09/msg00014.html I just figured out why the xalan xsl transformer isn't running. It's reading property files (either compiled in, or from disk) which contain text like this... # Note that the colon after the protocol needs to be escaped. {http\u003a//xml.apache.org/xslt}indent-amount=0 {http\u003a//xml.apache.org/xslt}content-handler=org.apache.xalan.serialize.SerializerToHTML {http\u003a//xml.apache.org/xslt}entities=HTMLEntities.res {http\u003a//xml.apache.org/xslt}use-url-escaping=yes {http\u003a//xml.apache.org/xslt}omit-meta-tag=no Note the escape sequence for `:'. The program then tries to search this resource bundle for "{ http://xml.apache.org/xslt}content-handler" ; and doesn't find a match. The problem is that \u003a isn't being converted into `:' when read from a property file. I don't know what the right solution is. Advice welcome... Thanks, AG