mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 13:28:55 +00:00
- added a comment on normalization
git-svn-id: file:///svn/phpbb/trunk@8037 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
da55886024
commit
0a7abb6b37
1 changed files with 2 additions and 0 deletions
|
@ -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>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue