I need a function that will convert € or chr(0x20AC) or chr(8364) to € without having a static map.
I tried using htmlentities(), but it only seems to work for the symbol itself and it converts to €.
I need a function that will convert € or chr(0x20AC) or chr(8364) to € without having a static map.
I tried using htmlentities(), but it only seems to work for the symbol itself and it converts to €.
ircmaxwell kind of answered the question in a round about way... what i was trying to do really isn't possible. I have circumvented the process by requiring the user to utilize the html entity instead.