Encoding issue(?) with Twitter Tools 3.0
-
http://wubi.org/wflms-announce/
I was using Twitter Tools + untco + wp-sns-share to mirror tweets <i>in Chinese</i> onto a WP blog, and share them to a Chinese social networking site. Since the upgrade to the newest Twitter Tools, the posts to WP and the posts sent to the other SNS are truncated versions of the original tweets <i>if the original tweets are in Chinese</i>.
http://msittig.wubi.org/test/tt-encoding-posts.jpg
See how it’s only six characters? Actually, the tweets are downloaded and stored correctly:
http://msittig.wubi.org/test/tt-encoding-tweets.jpg
The problem comes when the tweets are published to the blog or sent to the SNS by wp-sns-share. I suspect this is an encoding/utf-8 issue because the posts are truncated to almost exactly one third of the original number of characters (in UTF-8, most Chinese characters take up 3 bytes as opposed to 1 byte in ASCII). After testing I find that this is only happening with tweets in Chinese, not with English tweets.
Let me know if you need any more testing done on this issue.
- The topic ‘Encoding issue(?) with Twitter Tools 3.0’ is closed to new replies.