If you remove tokenizing does it print it out the character correctly?

patelp7 wrote:

Hi,
I tried both solutions. My JVM default encoding is already set to UTF-8. I
confirmed by printing System.getProperty("file.encoding").
I also changed my route to:
from(file).marshal().string("UTF-8").split(body().tokenize("\r\n|\n|\r")).streaming()


It's still converting the character to "?". I feel its reading the right
character but its getting corrupted when tokenizing/streaming?



--
View this message in context: http://camel.465427.n5.nabble.com/Unicode-characters-not-recognizing-when-reading-file-tp5781028p5781030.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to