Removing Unicode Charater 'Right-To-Left Override'
Posted: Wed Dec 06, 2006 8:52 pm
http://www.fileformat.info/info/unicode ... /index.htm
I've been trying various ways of how to do this and I am not able to come up with a solution at all. Is anyone able to present me with a way to find and remove the RTL Override character without having to htmlentities() any portion of the string the character is in.
I have tried the following, none of which seem to work:
The following link is the file with the character I would like to be able to remove in PHP. http://www.neowin.net/forum/index.php?a ... &id=170047 (view the source, and highlight it to see the invisible character)
Thanks in Advanced.
Cheers
I've been trying various ways of how to do this and I am not able to come up with a solution at all. Is anyone able to present me with a way to find and remove the RTL Override character without having to htmlentities() any portion of the string the character is in.
I have tried the following, none of which seem to work:
Code: Select all
$string = str_replace("\u202E", "", $string);Code: Select all
$string = mb_ereg_replace("\x20\x2E", "", $string);Thanks in Advanced.
Cheers