开发者

PHP XML encoding

开发者 https://www.devze.com 2023-01-03 07:58 出处:网络
I need a function that will convert € or chr(0x20AC) or chr(8364) to € without having a static map.开发者_Python百科

I need a function that will convert € or chr(0x20AC) or chr(8364) to € without having a static map.开发者_Python百科

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号