开发者

ord/char question

I have text that has ord elements in it such as:

Ya marcу medianoche            

what converts that text into开发者_如何学Go proper text?


Because its not just a "ord", but its a html-entity written as utf-codepoint you can use html_entity_decode()

var_dump(html_entity_decode("Ya marcу medianoche", ENT_COMPAT, "UTF-8"));
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜