Fix encoding ssupport
Add libiconv support