* libraries/string.lib.php3:
- Detect U+00A0 as whitespace
This commit is contained in:
@@ -8,6 +8,8 @@ $Source$
|
||||
2002-08-01 Robin Johnson <robbat2@users.sourceforge.net>
|
||||
* scripts/decode_bug.php3:
|
||||
- Improvements and PHP3 fixes thanks to Loic
|
||||
* libraries/string.lib.php3:
|
||||
- Detect U+00A0 as whitespace
|
||||
|
||||
2002-08-01 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* lang/afrikaans: new language
|
||||
|
@@ -216,9 +216,11 @@ if (!defined('PMA_STR_LIB_INCLUDED')) {
|
||||
$ord_space = 32; //ord(' ')
|
||||
$ord_tab = 9; //ord('\t')
|
||||
$ord_CR = 13; //ord('\n')
|
||||
$ord_NOBR = 160; //ord('U+00A0);
|
||||
$ord_c = ord($c);
|
||||
|
||||
return (($ord_c == $ord_space)
|
||||
return (($ord_c == $ord_space)
|
||||
|| ($ord_c == $ord_NOBR)
|
||||
|| PMA_STR_numberInRangeInclusive($ord_c, $ord_tab, $ord_CR));
|
||||
} // end of the "PMA_STR_isSpace()" function
|
||||
|
||||
|
Reference in New Issue
Block a user