Which encoding uses XI internally for plain text files
I want to read in (via file adapter) some plain texts of different character encoding and map them via a Java mapping file.
My question is now, which encoding does the internally XI bytestream have?
Does the XI file adapter convert it to UTF-8 or keeps it the encoding which is configured in the file adapter?
Is there a way to retrieve the correct encoding within my Java mapping?
Stefan Grube replied
When you declare the file as "text" and apply the correct encoding, then the file adapter converts the file to UTF-8.
When you declare the file as "binary", then the file adapter leaves the file as is, but in this case you have no information about the code page in Java Mapping.