remove utf-8 figure spaces with php

Posted by Jeroen Beerstra on Stack Overflow See other posts from Stack Overflow or by Jeroen Beerstra
Published on 2010-04-28T09:44:55Z Indexed on 2010/04/28 10:53 UTC
Read the original article Hit count: 195

Filed under:
|
|

I have some xml files with figure spaces in it, I need to remove those with php. The utf-8 code for these is e2 80 a9. If I'm not mistaken php does not seem to like 6 byte utf-8 chars, so far at least I'm unable to find a way to delete the figure spaces with functions like preg_replace.

Anybody any tips or even better a solution to this problem?

© Stack Overflow or respective owner

Related posts about php

Related posts about strings