camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ioannis Mavroukakis <imavrouka...@gmail.com>
Subject Re: Unicode characters not recognizing when reading file
Date Wed, 13 Apr 2016 19:05:18 GMT
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.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message