iconv

add a note add a note

User Contributed Notes 2 notes

up
9
foo at bar dot baz
3 months ago
Remember that the underlying library (libiconv) is basically not maintained anymore. While this extension will regardless continue to work for a long time since encodings rarely get changed, it is probably a better idea using mbstring and ICU (ext/intl) for new code, which are both regularly maintained and updated with newest standards. These two extensions can replace iconv entirely.
up
0
Paul
10 days ago
iconv registers the convert.iconv.* stream filter for transcoding on the fly. To do the same with mbstring or intl's UConverter you'd need to wrap them in a userland stream filter.
To Top