简体   繁体   English

解码php中的特殊字符

[英]Decode special character in php

Please tell me. 请告诉我。 How to decode 飯 如何解码飯 in php. 在PHP中。

I am getting this value when I am generating XML. 生成XML时,我正在获得此值。

I have used already html_entity_Decode() , htmlspecialchars_decode() but not able to decode it. 我已经使用了html_entity_Decode()htmlspecialchars_decode()但无法对其进行解码。

It is not the chinese character. 不是汉字。 on my website it is Décor Items . 在我的网站上是DécorItems。 and I am getting it as D 飯 cor Items 我把它当作D饭cor项目

Does any one know how to decode it. 有谁知道如何解码它。

There isn't anything to decode. 没有什么可解码的。 It's the HTML value for 飯. 这是饭的HTML值。 Just like   就像 

<?php
echo "&#x98EF;";

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM