I just checked the camel maven pom, it already unify the encoding of the with the below properties <!-- unify the encoding for all the modules --> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
But it the change could avoid some complains from IDE which doesn't use UTF-8 encoding by default. -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: 姜宁willem On Thursday, December 20, 2012 at 4:56 AM, Preben.Asmussen wrote: > Sorry my bad. > Just replace > private String payload = "æøå ©"; > with > // danish letter ae, oe, aa space and copyright > private final String payload = "\u00e6\u00f8\u00e5 \u00a9"; > > in > org.apache.camel.component.file.remote.FtpProducerFileWithCharsetTest > and > org.apache.camel.component.file.remote.FtpConsumerWithCharsetTest > > Actually i thought maven was set up to use utf-8 source code encoding > > /Preben > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Re-svn-commit-r1423871-in-camel-trunk-components-camel-ftp-src-main-java-org-apache-camel-component--tp5724380p5724398.html > Sent from the Camel Development mailing list archive at Nabble.com > (http://Nabble.com).