Page 1 of 1

Re: Reading a character using the correct charset

Posted: Fri May 25, 2018 1:40 pm
by BSridhar
Hi,

Did you got the solution for this? I have same requirement. Kindly share the thought/approach you used.

Thanks

Posted: Wed Jun 27, 2018 10:07 am
by DSUser2000
You need to use "ustring" in your schema file, so a unicode string. Then it should work fine. You can even define the charset per column like this:

Code: Select all

(
Field1:ustring[10]{charset="windows-1252"};
)
If all does not work: Use iconv to convert to Unicode and read this with an "External Source" stage.