I’m writing a plugin, and trying also to insert Chinese characters.
When I add the unicode characters to my blog post, it works fine. I converted them using this tool: https://www.pinyin.info/tools/converter/chars2uninumbers.html
But still my plugin won’t work. It does convert the characters, and I can see them when I view source, but they aren’t displaying in my plugin, as if the area of the plugin is NOT using utf-8, while the rest of the page does fine.
Can anyone point me in the right direction?
I’ve tried utf8_encode()
and utf8_decode()