Hi

I'm doing as below now which works ok - but isn't this what <convertBodyTo>
is supposed to do for me?


        @Override
        public void process(Exchange exchange) throws Exception {
                String converted = new
String(exchange.getIn().getBody(String.class).getBytes("Cp1252"));
                exchange.getIn().setBody(converted);
                exchange.setProperty("CamelCharsetName", "Cp1252");
        }
-- 
View this message in context: 
http://camel.465427.n5.nabble.com/Charset-conversion-issue-tp3204282p3204303.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to