PHP Class eZ\Publish\Core\Persistence\Utf8Converter

The code originates from the eZUTF8Codec class available in lib/ezi18n/classes/ezutf8codec.php
Show file Open project: ezsystems/ezpublish-kernel Class Usage Examples

Public Methods

Method Description
toUTF8Character ( integer $charCode ) : string Convert character code to UTF-8 character.
toUnicodeCodepoint ( string $char ) : integer Convert a single UTF-8 character into its decimal code point.

Method Details

toUTF8Character() public static method

Convert character code to UTF-8 character.
public static toUTF8Character ( integer $charCode ) : string
$charCode integer
return string

toUnicodeCodepoint() public static method

Convert a single UTF-8 character into its decimal code point.
public static toUnicodeCodepoint ( string $char ) : integer
$char string
return integer