>I am still searching for a function which is replacing all chars not between >[a-z] for exampe a province name like: minºaqah-ash-shamal¿yah into valid >chars or just deleting them. There seems to be an endless amount of those >chars.
This grep pattern: [\x80-\xFF] will match any high byte character - you could replace with null before displaying if just deleting is all you really need. why not specify the character set in your html so you can just leave them in? Cameron .:. -- Tantramar Interactive http://www.TantramarInteractive.com/ 16 Lorne St., Unit 3, Sackville, NB E4L 3Z7 Phone (506) 364-1097 Fax (506) 536-2409 All that glitters has a high refractive index. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php