camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Villemoes>
Subject Using Camel-ftp to write file with windows-1252 encoding
Date Fri, 27 Aug 2010 10:00:16 GMT


I am using Camel-2.2.0 and camel-ftp-2.2.0. 

The issue is that i am using camel-ftp to create file on a windows FTP
server and the file must be in windows-1252 :-(

My code is running on a Linux server (running

I have tried to set parameter on the endpoint to binary=true and to do
someting like:

byte[] origStringInBytes=sb.toString().getBytes("UTF-8");
String contentInWindows1252 = new String(origStringInBytes, "windows-1252");

Anyone having same issue? 
View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message