Re: Encoding acting odd.

2010-07-07 Thread Andreas Asmuss
No matter what I do the marshaller complains about: java.io.UTFDataFormatException: Invalid byte 1 of 1-byte UTF-8 sequence. I set these values: System.setProperty("org.apache.camel.default.charset", "iso-8859-1"); exchange.setProperty(Exchange.CHARSET_NAME, "iso-8859-1"); And the marshaller

Re: Encoding acting odd.

2010-07-07 Thread Andreas Asmuss
I'm using 2.3. I thought setting CHARSET_NAME would instruct JAXB to use the encoding set there? "In Camel 1.6.1 and newer you can set the encoding option to use when marshalling. Its the Marshaller.JAXB_ENCODING encoding property on the JAXB Marshaller. You can setup which encoding to use when

Re: Encoding acting odd.

2010-07-07 Thread Willem Jiang
Which version of Camel are you using? xslt-transformation will use "UTF-8" the by default, and you can change it by setting the system property for it, but it relates to the Camel version that you are using. Willem -- Apache Camel, Apache CXF committer Open SOA