|
||||||||||||||||||||||||||||||||
|
|
XLII. iconv FunctionsIntroduktionThis 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 charcter 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. SystemkravYou 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. InstallationTo use functions provided by this module, the PHP binary must be built with the following configure line: --with-iconv[=DIR].
Runtime KonfigurationVirkemåden af disse funktioner er berørt af indstillinger i php.ini.
Tabel 1. Iconv configuration options
RessourcetyperDenne udvidelse har ingen ressourcetyper defineret. Foruddefinerede KonstanterSince PHP 4.3.0 it is possible to identify at runtime which iconv implementation is adopted by this extension. Tabel 2. iconv constants
Since PHP 5.0.0, the following constants are also available: Tabel 3. iconv constants available since PHP 5.0.0
Se ogsåSee also GNU Recode functions.
| |||||||||||||||||||||||||||||||
|
|
|
Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account Document on this page is part of "PHP Manualen". See Index Page for more info about Authorship and Copyright. 1999-2008 Linuxinfor.com. No rights reserved. |