mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 14:57:37 +02:00
- added a comment on normalization
git-svn-id: file:///svn/phpbb/trunk@8037 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -1597,7 +1597,9 @@ K??se
|
|||||||
<blockquote><pre>
|
<blockquote><pre>
|
||||||
$_REQUEST['multibyte_string'] = 'Käse';
|
$_REQUEST['multibyte_string'] = 'Käse';
|
||||||
|
|
||||||
|
// normalize multibyte strings
|
||||||
echo utf8_normalize_nfc(request_var('multibyte_string', '', true));
|
echo utf8_normalize_nfc(request_var('multibyte_string', '', true));
|
||||||
|
// ASCII strings do not need to be normalized
|
||||||
echo request_var('multibyte_string', '');
|
echo request_var('multibyte_string', '');
|
||||||
</pre></blockquote>
|
</pre></blockquote>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user