Operating System - HP-UX
1833064 Members
2935 Online
110049 Solutions
New Discussion

UTF8 to ISO-8859-1 Conversion of Data

 
David Pittman_2
New Member

UTF8 to ISO-8859-1 Conversion of Data

When we try and convert data from UTF8 to ISO-8859-1 using the iconv utility, some characters that are not in the ISO-8859-1 character set are still passed through.

For example:

A UTF8 decimal 009 is passed though to the output. Since this is not in the ISO-8859-1 character set per spec . . . it should output the "galley" character or placeholder for an invalid character.

For reference see : man iconv, man genxlt
We are using the following command line:

iconv -f utf8 -t iso81 inputFile > outputFile

Thanks,

David Pittman


Whatever it was . . . I didn't do it.