Project

General

Profile

Actions

Bug #1622

closed

Userslists with php versions without utf8 support issues warning \P, \p, and \X has not been compiled at offset 1

Added by krileon about 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
24 March 2010
Due date:
% Done:

100%

Estimated time:
0:30 h

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

http://www.joomlapolis.com/component/option,com_joomlaboard/Itemid,38/func,view/catid,112/id,127672/#127672


Files

1622.patch (1.09 KB) 1622.patch krileon, 08 June 2010 14:48
Actions

Also available in: Atom PDF