|
Title: iconv support for KOI-x Post by: TheMadHatter on March 26, 2008, 04:21:19 PM Hello!
I wonder if anyone ever came across the problem to use iconv in an AIX environment. I have now... Unfortunately, my iconv -l command shows a meager list which does not include any of the old cyrillic encodings (KOI-7/KOI-8 etc.). Do I have to install the iconv-package from source to gain access to those? Thanks in advance! The Mad Hatter.. Title: Re: iconv support for KOI-x Post by: Michael on March 26, 2008, 06:23:47 PM If by "from source" you mean the AIX cdrom's - I believe the answer is yes. I only have the common iconv filesets installed - but there are MANY if I recall some of the update files.
# [/home/michael]lslpp -L | grep iconv bos.iconv.com 5.3.7.0 C F Common Language to Language bos.iconv.ucs.com 5.3.7.0 C F Unicode Base Converters for bos.rte.iconv 5.3.7.0 C F Language Converters # [/home/michael] On a VIO Server, which is meant to have more langguages installed the same command gives a lot more.... # lslpp -L | grep iconv bos.iconv.Vi_VN 5.3.0.0 C F ASCII Language Converters - bos.iconv.Zh_TW 5.3.0.0 C F EBCDIC & ASCII Language bos.iconv.ar_AA 5.3.0.0 C F EBCDIC & ASCII Language bos.iconv.com 5.3.7.0 C F Common Language to Language bos.iconv.da_DK 5.3.0.0 C F EBCDIC & ASCII Language bos.iconv.de_DE 5.3.0.0 C F EBCDIC & ASCII Language bos.iconv.el_GR 5.3.0.0 C F EBCDIC & ASCII Language bos.iconv.en_GB 5.3.0.0 C F EBCDIC & ASCII Language bos.iconv.es_ES 5.3.0.0 C F EBCDIC & ASCII Language bos.iconv.fr_FR 5.3.0.0 C F EBCDIC & ASCII Language bos.iconv.is_IS 5.3.0.0 C F EBCDIC & ASCII Language bos.iconv.iso2 5.3.0.0 C F EBCDIC & ASCII Language bos.iconv.iso5 5.3.0.0 C F EBCDIC & ASCII Language bos.iconv.it_IT 5.3.0.0 C F EBCDIC & ASCII Language bos.iconv.iw_IL 5.3.0.0 C F EBCDIC & ASCII Language bos.iconv.ja_JP 5.3.0.10 C F EBCDIC & ASCII Language bos.iconv.ko_KR 5.3.0.0 C F EBCDIC & ASCII Language bos.iconv.tr_TR 5.3.0.0 C F EBCDIC & ASCII Language bos.iconv.ucs.ZH_CN 5.3.0.0 C F Unicode Converters for bos.iconv.ucs.Zh_CN 5.3.0.0 C F Unicode Converters for bos.iconv.ucs.baltic 5.3.0.0 C F Unicode Converters for Baltic bos.iconv.ucs.com 5.3.7.0 C F Unicode Base Converters for bos.iconv.ucs.ebcdic 5.3.0.50 C F Unicode Converters for EBCDIC bos.iconv.ucs.pc 5.3.0.0 C F Unicode Converters for bos.iconv.zh_CN 5.3.0.0 C F EBCDIC & ASCII Language bos.iconv.zh_TW 5.3.0.0 C F EBCDIC & ASCII Language bos.rte.iconv 5.3.7.0 C F Language Converters # So, Mad Hatter - Have some wine! 8) - er except, I dont see KOI-8 - so, as the story goes - "Alice: but I dont see any wine." Mad Hatter: "there isn't any wine!" Do you see what you need? There may be more, but this is all I can find for now. # iconv -l | pr -3 Wed Mar 26 13:21:08 CDT 2008 Page 1 ASCII-GR IBM-856 ISO8859-4 CNS11643.1986-1 IBM-857 ISO8859-4-GL CNS11643.1986-1-GL IBM-860 ISO8859-4-GR CNS11643.1986-1-GR IBM-861 ISO8859-5 CNS11643.1986-2 IBM-863 ISO8859-5-GL CNS11643.1986-2-GL IBM-865 ISO8859-5-GR CNS11643.1986-2-GR IBM-869 ISO8859-6 CNS11643.1992-3 IBM-875 ISO8859-6-GL CNS11643.1992-3-GL IBM-921 ISO8859-6-GR CNS11643.1992-3-GR IBM-922 ISO8859-7 CNS11643.1992-4 IBM-930 ISO8859-7-GL CNS11643.1992-4-GL IBM-930-DOS ISO8859-7-GR CNS11643.1992-4-GR IBM-932 ISO8859-8 CNS11643.CT-GR IBM-933 ISO8859-8-GL GB18030 IBM-934 ISO8859-8-GR GB2312.1980-0 IBM-935 ISO8859-9 GB2312.1980-0-GL IBM-936 ISO8859-9-GL GB2312.1980-0-GR IBM-937 ISO8859-9-GR GB2312.1980.CT-GR IBM-938 JISX0201.1976-0 GBK IBM-939 JISX0201.1976-GL IBM-037 IBM-939-DOS JISX0201.1976-GR IBM-1026 IBM-942 JISX0208.1978-GL IBM-1027 IBM-943 JISX0208.1978-GR IBM-1046 IBM-944 JISX0208.1983-0 IBM-1112 IBM-946 JISX0208.1983-GL IBM-1122 IBM-948 JISX0208.1983-GR IBM-1123 IBM-eucCN KSC5601.1987-0 IBM-1124 IBM-eucJP KSC5601.1987-GL IBM-1125 IBM-eucKR KSC5601.1987-GR IBM-1129 IBM-eucTW TIS-620 IBM-1131 IBM-sbdTW UCS-2 IBM-1251 IBM-sbdTW-GL UCS2.CJK-REST IBM-1252 IBM-sbdTW-GR UCS2.CNS11643.1986-1 IBM-1381 IBM-sbdTW.CT-GR UCS2.CNS11643.1986-2 IBM-1390 IBM-udcJP UCS2.GB2312.1980-0 IBM-1394 IBM-udcJP-GL UNICODE-2 IBM-1399 IBM-udcJP-GR UTF-16 IBM-273 IBM-udcTW UTF-16le IBM-277 IBM-udcTW-GL UTF-32 IBM-278 IBM-udcTW-GR UTF-8 IBM-280 IBM-udcTW.CT-GR big5 IBM-284 ISCII.1991 ccdc IBM-285 ISO8859-1 cns IBM-290 ISO8859-1-GL csic IBM-297 ISO8859-1-GR ct IBM-300 ISO8859-15 fold7 IBM-437 ISO8859-15-GL fold8 IBM-500 ISO8859-15-GR sops IBM-833 ISO8859-2 tca IBM-834 ISO8859-2-GL ttc IBM-835 ISO8859-2-GR ttcmin IBM-836 ISO8859-3 unicode IBM-837 ISO8859-3-GL uucode IBM-850 ISO8859-3-GR wang IBM-852 Title: Re: iconv support for KOI-x Post by: TheMadHatter on March 27, 2008, 09:56:52 AM Thanks for the reply!
Well, i was in a bit of a rush yesterday, so I could not post the lslpp output, but i packed everything on the box what AIX provides. Which is quite a lot. My output mirrors yours perfectly, so I guess i have not forgotten anything. Too bad if there is no support for very old/unusual charsets in the AIX iconv. I was forced to install the GNU libiconv parallel to the one AIX provides to get the KOI-8 support at least. So i guess since there is no wine, i will continue to whine..:) Currently AIX 0:GNU 1 Regards, The Mad Hatter (with his mourning Hat today..) |