On Thu, Feb 14, 2013 at 6:15 AM, sarfaraj <sarfarajsay...@gmail.com> wrote:
> Hi,
>
> I want to create csv file with UTF-8 encoding.
>
> Using *CSV *component i am abale to create the csv file but with ANSI
> encoding. (Please refer below code)
>
> <to uri="bean:csvTranslator" />
>         <marshal>
>                 <csv />
>         </marshal>
> <to uri="file:src/fileserver?fileName=test.csv" />
>
> Could someone tell me how to create csv file with UTF-8 encoding using the
> Spring/XML DSL.
>

There is a charset option on the file endpoint
http://camel.apache.org/file2

> /Sarfaraj
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/How-to-create-csv-with-UTF-8-encoding-using-the-Spring-XML-DSL-tp5727566.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cib...@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to