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.
Since PHP 5.0.0, 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.
You will need nothing if the system you are using is one of the recent
POSIX-compliant systems because standard C libraries that are supplied in
them must provide iconv facility. Otherwise, you have to get the
libiconv library installed in
your system.
To use functions provided by this module, the
PHP binary must be built with
the following configure line:
--with-iconv[=DIR].
Note to Windows® Users:
In order to enable this module on a Windows® environment, you need to put
a DLL file named iconv.dll or
iconv-1.3.dll (prior to 4.2.1)
which is bundled with the PHP/Win32 binary package into a directory
specified by the PATH environment variable
or one of the system directories of your Windows® installation.
This module is part of PHP as of PHP 5 thus iconv.dll
and php_iconv.dll is not needed anymore.
iconv -- Convert string to requested character encoding
ob_iconv_handler -- Convert character encoding as output buffer handler
Php ref.iconv Function syntax tag
ref.iconv php code on this is provided for your study purpose, it will guide you to know how create and design a website using php. use it to practice and train your self online
Php ref.iconv syntax tutorial
php tutorial guide and code design are for easy learning and programming. The code practice section provided at the top is for practising of this syntax. Use the code section up to practice your php programming online. Learning php is very easy, all you need is to use the examples on this site and practice them to perfect your skills.