Actions
Bug #1622
closedUserslists with php versions without utf8 support issues warning \P, \p, and \X has not been compiled at offset 1
Description
Need to check for PHP UTF-8 support before using the following.
$eachValues = preg_split( '/\p{Z}+/u', $value );
which results in the following.
Warning: preg_split() [function.preg-split]: Compilation failed: support for \P, \p, and \X has not been compiled at offset 1 in /var/www/html/joomla/administrator/components/com_comprofiler/plugin.class.php on line 2466
Files
Updated by beat over 14 years ago
- Assignee set to krileon
- Target version set to CB 1.2.3
Updated by krileon over 14 years ago
- File 1622.patch 1622.patch added
- Status changed from New to Assigned
- Assignee changed from krileon to beat
- % Done changed from 0 to 80
Updated by beat over 14 years ago
- Status changed from Assigned to Closed
- % Done changed from 80 to 100
Fixed in r1062 slightly differently than patch, still taking in account if we are outputing in utf8 mode.
Updated by beat over 14 years ago
- Subject changed from \P, \p, and \X has not been compiled at offset 1 to Userslists with php versions without utf8 support issues warning \P, \p, and \X has not been compiled at offset 1
Actions