|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Go to the source code of this file.
Functions | |
| codepointToUtf8 ($codepoint) | |
| Return UTF-8 sequence for a given Unicode code point. More... | |
| hexSequenceToUtf8 ($sequence) | |
| Take a series of space-separated hexadecimal numbers representing Unicode code points and return a UTF-8 string composed of those characters. More... | |
| utf8ToHexSequence ($str) | |
| Take a UTF-8 string and return a space-separated series of hex numbers representing Unicode code points. More... | |
| utf8ToCodepoint ($char) | |
| Determine the Unicode codepoint of a single-character UTF-8 sequence. More... | |
| escapeSingleString ($string) | |
| Escape a string for inclusion in a PHP single-quoted string literal. More... | |
| codepointToUtf8 | ( | $codepoint | ) |
Return UTF-8 sequence for a given Unicode code point.
May die if fed out of range data.
| $codepoint | Integer: |
Definition at line 38 of file UtfNormalUtil.php.
Referenced by ilCharSelectorConfig\getItemParsedCallback(), hexSequenceToUtf8(), and CleanUpTest\XtestAllChars().
Here is the caller graph for this function:| escapeSingleString | ( | $string | ) |
Escape a string for inclusion in a PHP single-quoted string literal.
| $string | String: string to be escaped. |
Definition at line 150 of file UtfNormalUtil.php.
|
private |
Take a series of space-separated hexadecimal numbers representing Unicode code points and return a UTF-8 string composed of those characters.
Used by UTF-8 data generation and testing routines.
| $sequence | String |
Definition at line 72 of file UtfNormalUtil.php.
References $n, and codepointToUtf8().
Here is the call graph for this function:| utf8ToCodepoint | ( | $char | ) |
Determine the Unicode codepoint of a single-character UTF-8 sequence.
Does not check for invalid input data.
| $char | String |
Definition at line 109 of file UtfNormalUtil.php.
References $i.
Referenced by ilCharSelectorConfig\getItemCodepoint(), and utf8ToHexSequence().
Here is the caller graph for this function:
|
private |
Take a UTF-8 string and return a space-separated series of hex numbers representing Unicode code points.
For debugging.
| $str | String: UTF-8 string. |
Definition at line 90 of file UtfNormalUtil.php.
References sprintf, and utf8ToCodepoint().
Here is the call graph for this function: