How can I read data correctly from a line-sequential file that has a different encoding from the one used by isCOBOL?

Question ID : 263
Created on 2016-02-22 at 2:33 AM
Author : Veryant Support []

Online URL :

To solve this problem you can normally read the line-sequential file, then before using the contents of the record you can call a specific java function for the translation.

Attached below is a Cobol sample program that reads a file created with UTF8 encoding. For each record call Java class provides the translation into CP1252 encoding.

Back to Original Question