Re: [SMARTY] UTF-8 and capitalize issues

Marcus Bointon <[email protected]> Tue, 6 Mar 2007 11:48:28 +0000
Newsgroups gmane.comp.php.smarty.general
Message-ID <[email protected]>
On 28 Feb 2007, at 05:56, Brett wrote:

> Also, if I could ask, does anyone know if there will still be a  
> problem with
> Unicode if one is searching for wildcard data between ASCII text  
> within a
> preg_replace function? For example, will such a regular expression  
> as this one
> choke, '@(\{info)([^}]*?)(\})@s' , or will it only cause problems  
> if one
> actually includes non-ASCII Unicode characters explicitly within  
> the regexp?

Probably OK if you use the u pattern modifier as well.

Marcus
-- 
Marcus Bointon
Synchromedia Limited: Creators of http://www.smartmessages.net/
[email protected] | http://www.synchromedia.co.uk/

-- 
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php