mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-27 20:39:08 +00:00
lest we forget
git-svn-id: file:///svn/phpbb/trunk@8031 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
4ae2e77bcb
commit
e6e0b7f07d
1 changed files with 6 additions and 0 deletions
|
@ -89,6 +89,12 @@ class utf_normalizer
|
||||||
include($phpbb_root_path . 'includes/utf/data/utf_nfc_qc.' . $phpEx);
|
include($phpbb_root_path . 'includes/utf/data/utf_nfc_qc.' . $phpEx);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!isset($GLOBALS['utf_canonical_decomp']))
|
||||||
|
{
|
||||||
|
global $phpbb_root_path, $phpEx;
|
||||||
|
include($phpbb_root_path . 'includes/utf/data/utf_canonical_decomp.' . $phpEx);
|
||||||
|
}
|
||||||
|
|
||||||
// Replace any byte in the range 0x00..0x1F, except for \r, \n and \t
|
// Replace any byte in the range 0x00..0x1F, except for \r, \n and \t
|
||||||
// We replace those characters with a 0xFF byte, which is illegal in UTF-8 and will in turn be replaced with a UTF replacement char
|
// We replace those characters with a 0xFF byte, which is illegal in UTF-8 and will in turn be replaced with a UTF replacement char
|
||||||
$str = strtr(
|
$str = strtr(
|
||||||
|
|
Loading…
Add table
Reference in a new issue