PHP Unicode codepoint to character

前端 未结 3 2026
轻奢々
轻奢々 2020-12-17 03:23

I would like to convert Unicode codepoint to character. Here is what I have tried:

$point = dechex(127468);  // 1f1ec

echo \"\\u{1f1ec}\";         // this w         


        
3条回答
提交回复
热议问题