I have strings with special characters I want to convert. Usually I find all the special characters and their "web safe" counter parts manually and put them in arrays. Then I use preg_replace to replace each of the characters.I have strings with special characters I want t