Re: [PHP] preg_replace with UTF-8

2009-07-06 Thread SleePy
Thank you Andrew, That seems to break up UTF-8 strings. So from there I will play with it. On Jul 6, 2009, at 8:50 AM, Andrew Ballard wrote: On Sun, Jul 5, 2009 at 9:54 PM, SleePy wrote: I seem to be having a minor issue with preg_replace not working as expected when using UTF-8 strings. So

Re: [PHP] preg_replace with UTF-8

2009-07-06 Thread Andrew Ballard
On Sun, Jul 5, 2009 at 9:54 PM, SleePy wrote: > I seem to be having a minor issue with preg_replace not working as expected > when using UTF-8 strings. So far I have found out that \w doesn't seem to be > detecting UTF-8 strings. > > This is my test php file: > $data = 'ooo'; >

Re: [PHP] preg_replace with UTF-8

2009-07-06 Thread Georgi Alexandrov
On Mon, Jul 6, 2009 at 4:54 AM, SleePy wrote: > I seem to be having a minor issue with preg_replace not working as expected > when using UTF-8 strings. So far I have found out that \w doesn't seem to be > detecting UTF-8 strings. > > This is my test php file: > $data = 'ooo';