camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Preben.Asmussen" <p...@dr.dk>
Subject Re: Problem w. FTP producer and charset
Date Fri, 07 Dec 2012 07:04:39 GMT
Hi Willem

I think the testcase is attatched as a zip. just run it and you will see
that it fails under camel 2.9.3 and completes under 2.9.2 when you change
the camel.version in the pom.

The problem is that files don't get written in the correct charset even if
you specify the charset on the file/ftp endpoint eg. when the body is in
utf-8, and you want to write a file in iso-8859-1.

The root problem is that the exchange property CamelCharsetName is not set
on version 2.9.3 and upwards even though it is set on the file/ftp producer
endpoint as a charset property.

At the moment a workaround is to set the CamelCharsetName property manually.

Best
Preben Asmussen





--
View this message in context: http://camel.465427.n5.nabble.com/Problem-w-FTP-producer-and-charset-tp5723604p5723751.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message