简体   繁体   中英

Decode special character in php

Please tell me. How to decode 飯 in php.

I am getting this value when I am generating XML.

I have used already html_entity_Decode() , htmlspecialchars_decode() but not able to decode it.

It is not the chinese character. on my website it is Décor Items . and I am getting it as D 飯 cor Items

Does any one know how to decode it.

There isn't anything to decode. It's the HTML value for 飯. Just like  

<?php
echo "&#x98EF;";

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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