I have an application that requires to call libiconv.so.2 library (version from 1.15 or above) for character set conversion. Searched in AIX Toolbox for Open Source Software, I downloaded and installed libiconv-1.16 and try to run the application but failed.
I try to call it by command line directly:
root@axi71(/)# which iconv
/opt/freeware/bin/iconv
root@axi71(/)# iconv -f IBM-1047 -t UTF-8 ebcdic.txt > ebcdic.converted
iconv: conversion from IBM-1047 unsupported
iconv: try 'iconv -l' to get the list of supported encodings
root@axi71(/)# iconv -l | grep IBM-1047
root@axi71(/)#
From the result, it seems that IBM-1047 encoding is not available in libiconv-1.16. I have further searched gnu.org, libiconv-1.17 is now available with the encoding IBM-1047.
https://savannah.gnu.org/forum/forum.php?forum_id=10175
Does anyone encounter same problem ?
May I know if any configuration can set to allow libiconv-1.16 to convert IBM-1047 ? or it really cannot do the conversion of IBM-1047?
Will libiconv-1.17 be available in AIX Toolbox for Open Source Software ?
------------------------------
Angus Lam
------------------------------