PHP - UTF-16 to UTF-8(hex) conversion

后端 未结 2 1868
一个人的身影
一个人的身影 2021-01-15 18:01

Is it possible to convert UTF-16
U+610F
style character to UTF-8 (hex)
E6848F
using PHP ?

UTF-8 character is \'意\'

2条回答
  •  春和景丽
    2021-01-15 18:40

    php have unicode encoding and decoding.. let u try on that

    utf8_decode(); or utf8_encode();
    

提交回复
热议问题