cancel
Showing results for 
Search instead for 
Did you mean: 

Code Page Conversion using PI ? (ANSI Windows to UTF-8)

Former Member
0 Kudos

Hi,

I need to convert flat file code paget from Windows ANSI to UTF-8 using PI File adapter. but coulnd found any free java library to do this conversion. Please sharing with me if you know any java library that i can use for my purpose.

Thank You and Best Regards

Fernand

Accepted Solutions (1)

Accepted Solutions (1)

stefan_grube
Active Contributor
0 Kudos

You need no special library, as the codepage conversion is part of Java standard.

If you work with the file adapter, you can simply add the codepage to the file adapter receiver channel.

Try win-1252 or win-cp1252 for western europe (or ISO 8859-1).

http://en.wikipedia.org/wiki/Windows_code_page.

Regards

Stefan

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Stefan,

Thank You, it's working now.

Cheers

Fernand

Former Member
0 Kudos