How can I read a data written with a different encoding?

Question ID : 254
Created on 2015-10-28 at 8:17 AM
Author : Veryant Support [support@veryant.com]

Online URL : http://support.veryant.com/support/phpkb/question.php?ID=254



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



Back to Original Question