Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiled in AIX - Issue found #11

Open
Danny-E opened this issue Mar 6, 2015 · 1 comment
Open

Compiled in AIX - Issue found #11

Danny-E opened this issue Mar 6, 2015 · 1 comment

Comments

@Danny-E
Copy link

Danny-E commented Mar 6, 2015

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,

@jfisteus
Copy link
Owner

jfisteus commented Mar 9, 2015

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants