Character set conversion fails on systems where iconv doesn't accept //IGNORE
|Reported by:||trisk||Owned by:|
This is accompanied by the message "PHP Error: Could not convert string from GBK to UTF-8. Make sure iconv/mbstring is installed or lib/utf8.class is available"
The "TRANSLIT" and "IGNORE" modifiers to the encoding name are specific to GNU libiconv and result an unrecognised encoding name when used with other iconv implementations.
A workaround may be to test if "IGNORE" is supported before using it.
Change History (17)
comment:5 Changed 3 years ago by trisk
- Resolution fixed deleted
- Status changed from closed to reopened
Changed 3 years ago by trisk
comment:12 Changed 3 years ago by trisk
- Priority changed from 5 to 4
- Version changed from 0.3.1 to svn-trunk