2006-09-25, 11:52 PM
Hi,
I am using MyBB 1.2 with mysql 5.0.24a / PHP 5.1.6-pl2-gentoo on a gentoo system. I found that if I copy a long Chinese article into clipboard from a web page and then paste in posting editbox to post, I get some garbled code (i.e., garbage code) in every 50-60 chinese characters. The content in editbox looks OK but garbled codes appear in forum's posts.
I use the exactly same clipboard content and paste in IPB 1.31's editbox and get perfect copy: no garbled codes at all in the final posts. Both IPB 1.31 and MyBB 1.2 use UTF-8 as default text encoding (browsers automatically select 'Unicode (UTF-8)" in "View --> Character Encoding").
Any ideas why this happens?
Thx.
I am using MyBB 1.2 with mysql 5.0.24a / PHP 5.1.6-pl2-gentoo on a gentoo system. I found that if I copy a long Chinese article into clipboard from a web page and then paste in posting editbox to post, I get some garbled code (i.e., garbage code) in every 50-60 chinese characters. The content in editbox looks OK but garbled codes appear in forum's posts.
I use the exactly same clipboard content and paste in IPB 1.31's editbox and get perfect copy: no garbled codes at all in the final posts. Both IPB 1.31 and MyBB 1.2 use UTF-8 as default text encoding (browsers automatically select 'Unicode (UTF-8)" in "View --> Character Encoding").
Any ideas why this happens?
Thx.