Converter for utf8 and 32bit unicode.
More...
List of all members.
Detailed Description
Converter for utf8 and 32bit unicode.
Allows for conversion from utf8 charactes and to 32bit unicode values, and vice versa.
Definition at line ezutf8codec.php.
Constructor & Destructor Documentation
eZUTF8Codec::eZUTF8Codec |
( |
|
) |
|
|
Member Function Documentation
& eZUTF8Codec::fromUtf8 |
( |
$ |
multi_char, |
|
|
$ |
offs, |
|
|
&$ |
len |
|
) |
[static] |
|
|
Converts the first utf8 char in the string $multi_char to a 32 bit integer. $offs is the offset in the string. $len will contain the length of utf8 char in the string which can be used to find the next char.
Definition at line ezutf8codec.php. |
& eZUTF8Codec::instance |
( |
|
) |
|
|
& eZUTF8Codec::toUTF8 |
( |
$ |
char_code |
) |
[static] |
|
|
Converts the 32 bit integer $char_code to a utf8 string representing the Unicode character.
Definition at line ezutf8codec.php. |
The documentation for this class was generated from the following file:
|