iconv
Introduction
This module contains an interface to iconv character set conversion facility. With this module, you can turn a string represented by a local character set into the one represented by another character set, which may be the Unicode character set. Supported character sets depend on the iconv implementation of your system. Note that the iconv function on some systems may not work as you expect. In such case, it'd be a good idea to install the » GNU libiconv library. It will most likely end up with more consistent results.
This extension comes with various utility functions that help you to write multilingual scripts. Let's have a look at the following sections to explore the new features.
- Installing/Configuring
- Predefined Constants
- iconv Functions
- iconv — Convert a string from one character encoding to another
- iconv_get_encoding — Retrieve internal configuration variables of iconv extension
- iconv_mime_decode — Decodes a MIME header field
- iconv_mime_decode_headers — Decodes multiple MIME header fields at once
- iconv_mime_encode — Composes a MIME header field
- iconv_set_encoding — Set current setting for character encoding conversion
- iconv_strlen — Returns the character count of string
- iconv_strpos — Finds position of first occurrence of a needle within a haystack
- iconv_strrpos — Finds the last occurrence of a needle within a haystack
- iconv_substr — Cut out part of a string
- ob_iconv_handler — Convert character encoding as output buffer handler
↑ and ↓ to navigate • Enter to select • Esc to close • / to open