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 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 libiconv-1.16 cannot convert IBM-1047 to UTF-8. I further searched gnu.org and found libiconv-1.17 is now available with IBM-1047 encoding.
https://savannah.gnu.org/forum/forum.php?forum_id=10175
Does anyone encountered the same problem ?
Is there any configuration can set to make libiconv-1.16 able to convert IBM-1047 to UTF-8 ? or it really cannot do that ?
Will libiconv-1.17 be available with the IBM-1047 encoding to be downloaded ?
------------------------------
Angus Lam
------------------------------
#AIXOpenSource