Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I use the latest version of wordpress (v3.9.2, Taiwan Chinese Traditional), and found it can not display this Chinese word 𪇆, but other Chinese words can be displayed normally.

I just use this word on a post, and all the content after it is lost (became blank, this word disappeared too), after I saved the post to draft. What should I do?

share|improve this question
    
I was able to have that word in post content by switching to text editor for post content (no TinyMCE) and typing 𪇆 then publishing post while text editor is active. I can confirm that switching to TinyMCE and then update post the content is lost. –  G. M. Aug 23 at 8:29
    
yes, i can paste the word from ms-word, and can see it; but, after save the post, it disappeared! –  kenmux Aug 23 at 8:58
    
update: i found an interesting thing: i tested with my blog on the Wordpress.com, and found it's all ok! –  kenmux Aug 25 at 2:04

1 Answer 1

up vote 2 down vote accepted

This might be a limitation of JavaScript. 𪇆 is U+2A1C6 in Unicode, and codepoints above U+FFFF (which need four bytes) are coded via UTF-16 surrogates. And that … sucks.

The canonical bug for that in WordPress is #13590 Inserting a 4-byte UTF-8 character truncates data. It was closed as maybe later, because fixing it would require a change in the database encoding that WordPress’ current schema just cannot handle.

You could try the plugin TinyMCE Chinese Convert and switch to Simplified Chinese to get around that.

share|improve this answer
    
hmm, the problem just as you say, but, are there any other solutions? like: 1) modify the config to let it support displaying natively? 2) get this word from other url? 3) save and display it using raw data, no cut off? '𪇆' just has no simplified chinese version, only another form: '鸀' with different pronunciation! –  kenmux Aug 23 at 9:25
    
@kenmux I am not aware of a better solution. Let’s wait, maybe someone else has a better idea. –  toscho Aug 23 at 9:31

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.