本文介绍了输出UTF-16?有点卡住的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一些以代理对形式使用UTF-16编码的字符.我想将这些代理对作为字符输出到屏幕上.
I have some UTF-16 encoded characters in their surrogate pair form. I want to output those surrogate pairs as characters on the screen.
有人知道这怎么可能吗?
Does anyone know how this is possible?
推荐答案
iconv('UTF-16', 'UTF-8', yourString)
这篇关于输出UTF-16?有点卡住的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!