1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200
|
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 323624 $ -->
<appendix xml:id="intl.constants" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.constants;
<para>
<variablelist>
<varlistentry xml:id="constant.intl-max-locale-len">
<term>
<constant>INTL_MAX_LOCALE_LEN</constant>
(<type>integer</type>)
</term>
<listitem>
<simpara>
Limit on locale length, set to 80 in PHP code. Locale names longer
than this limit will not be accepted.
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.idna-default">
<term>
<constant>IDNA_DEFAULT</constant>
(<type>integer</type>)
</term>
<listitem>
<simpara>
Prohibit processing of unassigned codepoints in the input for IDN
functions and do not check if the input conforms to domain name ASCII rules.
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.idna-allow-unassigned">
<term>
<constant>IDNA_ALLOW_UNASSIGNED</constant>
(<type>integer</type>)
</term>
<listitem>
<simpara>
Allow processing of unassigned codepoints in the input for IDN functions.
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.idna-use-std3-rules">
<term>
<constant>IDNA_USE_STD3_RULES</constant>
(<type>integer</type>)
</term>
<listitem>
<simpara>
Check if the input for IDN functions conforms to domain name ASCII rules.
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.idna-check-bidi">
<term>
<constant>IDNA_CHECK_BIDI</constant>
(<type>integer</type>)
</term>
<listitem>
<simpara>
Check whether the input conforms to the BiDi rules.
Ignored by the IDNA2003 implementation, which always performs this check.
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.idna-check-contextj">
<term>
<constant>IDNA_CHECK_CONTEXTJ</constant>
(<type>integer</type>)
</term>
<listitem>
<simpara>
Check whether the input conforms to the CONTEXTJ rules.
Ignored by the IDNA2003 implementation, as this check is new in IDNA2008.
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.idna-nontransitional-to-ascii">
<term>
<constant>IDNA_NONTRANSITIONAL_TO_ASCII</constant>
(<type>integer</type>)
</term>
<listitem>
<simpara>
Option for nontransitional processing in
<function>idn_to_ascii</function>. Transitional processing is activated
by default. This option is ignored by the IDNA2003 implementation.
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.idna-nontransitional-to-unicode">
<term>
<constant>IDNA_NONTRANSITIONAL_TO_UNICODE</constant>
(<type>integer</type>)
</term>
<listitem>
<simpara>
Option for nontransitional processing in
<function>idn_to_utf8</function>. Transitional processing is activated
by default. This option is ignored by the IDNA2003 implementation.
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.intl-idna-variant-2003">
<term>
<constant>INTL_IDNA_VARIANT_2003</constant>
(<type>integer</type>)
</term>
<listitem>
<simpara>
Use IDNA 2003 algorithm in <function>idn_to_utf8</function> and
<function>idn_to_ascii</function>. This is the default.
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.intl-idna-variant-uts46">
<term>
<constant>INTL_IDNA_VARIANT_UTS46</constant>
(<type>integer</type>)
</term>
<listitem>
<simpara>
Use UTS #46 algorithm in <function>idn_to_utf8</function> and
<function>idn_to_ascii</function>.
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.idna-error-empty-label">
<term>
<constant>IDNA_ERROR_EMPTY_LABEL</constant> (<type>integer</type>)
</term>
<term>
<constant>IDNA_ERROR_LABEL_TOO_LONG</constant> (<type>integer</type>)
</term>
<term>
<constant>IDNA_ERROR_DOMAIN_NAME_TOO_LONG</constant> (<type>integer</type>)
</term>
<term>
<constant>IDNA_ERROR_LEADING_HYPHEN</constant> (<type>integer</type>)
</term>
<term>
<constant>IDNA_ERROR_TRAILING_HYPHEN</constant> (<type>integer</type>)
</term>
<term>
<constant>IDNA_ERROR_HYPHEN_3_4</constant> (<type>integer</type>)
</term>
<term>
<constant>IDNA_ERROR_LEADING_COMBINING_MARK</constant>
(<type>integer</type>)
</term>
<term>
<constant>IDNA_ERROR_DISALLOWED</constant> (<type>integer</type>)
</term>
<term>
<constant>IDNA_ERROR_PUNYCODE</constant> (<type>integer</type>)
</term>
<term>
<constant>IDNA_ERROR_LABEL_HAS_DOT</constant> (<type>integer</type>)
</term>
<term>
<constant>IDNA_ERROR_INVALID_ACE_LABEL</constant> (<type>integer</type>)
</term>
<term>
<constant>IDNA_ERROR_BIDI</constant> (<type>integer</type>)
</term>
<term>
<constant>IDNA_ERROR_CONTEXTJ</constant> (<type>integer</type>)
</term>
<listitem>
<simpara>
Errors reported in a bitset returned by the UTS #46 algorithm in
<function>idn_to_utf8</function> and
<function>idn_to_ascii</function>.
</simpara>
</listitem>
</varlistentry>
</variablelist>
</para>
</appendix>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
|