开发者

PHP XML encoding

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜