Open Danny-E opened 9 years ago
Thanks for notifying the issue. From a quick google search, it seems that character set names in iconv for AIX are case-sensitive, but they aren't in other platforms such as Linux and Windows, where I regularly test the program. I'll need to fix all the charset names and aliases so that they are always passed to iconv in uppercase.
Regarding how to compile the program in AIX, I understand from your comment that it isn't trivial. If you provide me with instructions I can add them to the README file. Thanks!
Hello, I was able to compile html2xhtml in AIX 7.1. Took a few tries. I can comment on how I did it if needed. Issue I found: I kept getting this error during execution: iconv_open: invalid argument aix After a ton of Google searches, I finally started looking at the code. It turns out the case of the values of the charset_aliases struc was the issue. They do not match the case returned by "iconv -l" and therefore, I believe, causes the error. To correct, I changed iso-5589-1 to ISO5589-1 and the conversion worked!! So please update the values of charset_aliases. Thank you,