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

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.

Authored by: Veryant Support on Mon, Feb 22nd, 2016 at 7:00 PM
This question has been viewed 3087 times so far.
Online URL: http://support.veryant.com/support/phpkb/question.php?ID=263

Powered by PHPKB Knowledge Base Software