PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Hi, I am having problems with Umlauts (Ö,ö) being used by people filling in information on a form. Is there an easy way to catch these and convert them to their respective non-umlauted Vowels?
Thanks
Dave K
SLC Utah
that's all my script is doing, but rather than printing the full entity; it's grabbing the second letter which is always the normal letter (a, o, u, etc).
hmm.. read the first post. he wants to change each umlaut to it's respective vowel. using htmlentities just changes it to just that.. an entity ie: Ä = Ä
the preg function is locating the characters then sending it to the function that uses htmlentities to grab the 2nd letter of the output which in the example used above would be A.
if there is a way to do that with only htmlentities() please explain.