note 103444 deleted from function.preg-replace by danbrown
| From: | danbrown@php.net | Date: | Wed, 13 Apr 2011 18:37:21 +0000 |
| Subject: | note 103444 deleted from function.preg-replace by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-178809@lists.php.net to get a copy of this message | ||
Note Submitter: phofstetter at sensational dot ch
----
When you are using preg_replace on utf-8 encoded data, be sure to use the u modifier with your
pattern or you will possibly see your data being corrupted.
See my comment in the manual page for pattern modifiers.