Having the need to read a data, for example from a sequential file, written in UTF-8 on on machine where the default encoding is the Cp1252 you can use a java function that allow to 'translate' the data from the source encoding to the destination encoding
In attachment a cobol program that reads a sequential file written in UTF-8 and thru the paragraph RECORD-CONVERSION is able to translate in the Cp1252
Article ID: 254
Created: October 28, 2015
Last Updated: May 20, 2022
Author: Support KB Author
Online URL: https://support.veryant.com/phpkb/article.php?id=254