Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Which encoding uses XI internally for plain text files

Hi,

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?

Kind regards,

Peter

Former Member
Former Member replied

Hi Peter,

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.

Regards

Stefan

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question