Unicode Support.
Advarsel |
This extension is still in development and it isn't available to public yet. |
ICU 3.4 or later is required.
First you should download and install ICU:
Then checkout latest PHP and configure it --with-icu-dir=<dir>
option, where
<dir> was the dir to where you installed ICU. You don't need to
explicitly use this option if you install ICU to a standard location.
Virkemåden af disse funktioner er berørt af indstillinger i php.ini.
Tabel 1. Unicode Configuration Options
Name | Default | Changeable | Changelog |
---|---|---|---|
unicode.fallback_encoding | NULL | PHP_INI_ALL | Available since PHP 6.0.0. |
unicode.from_error_mode | "2" | PHP_INI_ALL | Available since PHP 6.0.0. |
unicode.from_error_subst_char | "3f" | PHP_INI_ALL | Available since PHP 6.0.0. |
unicode.http_input_encoding | NULL | PHP_INI_ALL | Available since PHP 6.0.0. |
unicode.output_encoding | NULL | PHP_INI_ALL | Available since PHP 6.0.0. |
unicode.runtime_encoding | NULL | PHP_INI_ALL | Available since PHP 6.0.0. |
unicode.script_encoding | NULL | PHP_INI_ALL | Available since PHP 6.0.0. |
unicode.semantics | off | PHP_INI_PERDIR | Available since PHP 6.0.0. |
Her er en kort forklaring på konfigurations-direktiverne.
unicode.output_encoding
stringDefault encoding for output.
Konstanterne nedenunder er defineret af denne udvidelse, og vil kun være tilgængelige når denne udvidelse enten er blevet kompileret ind i PHP eller dynamisk indsat under runtime.