该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Full UTF-8

描述

Full UTF-8 adds complete support for any UTF-8 character.
Without this plugin, WordPress truncates anything after the first 4-bytes-long UTF-8 character.

Suppose you copy some text from a web page and paste it into the editor. You see
everything is fine, so you hit save. As soon as the page is reloaded, you find out that your post
has been truncated at a point that seems to be quite random. Well, that’s not random.
The breaking point is the position of the first 4-bytes-long UTF-8 character.
Anything from that one up to the end of the post is irremediably lost forever.

You definitely need to install this plugin if you write 4-bytes-long UTF-8 characters.
How do you know that? Many Chinese characters, musical and mathematical symbols and Emoji icons
are 4-bytes-long. But you can always try to draw something and check for yourself.
If you get a Unicode hexadecimal value with more than four digits after 0x then it is a 4-bytes-long UTF-8 character.
For example, a G-clef is one because 0x1D11E has 5 digits after 0x.
1. This plugin is a WordPress “drop in”. Drop-ins are advanced plugins in the wp-content
directory that replace WordPress functionality when present.
1. This plugin is completely automatic. You are not supposed to do anything special
to make it work after activating it.

Interesting Links

屏幕截图

  • Copy and paste some text into a new post (it works also if you type yourself in the editor.) Example
    Everything looks fine, so you save.
  • Default WordPress: Oops! What happened to your text??
    WordPress misbehaves. It cuts anything after the first character it can't process.
  • WordPress + Full UTF-8: Nice.
    WordPress behaves.

安装

  1. Upload full-utf-8 folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

常见问题

None.

评价

阅读所有6条评价

贡献者及开发者

“Full UTF-8” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Full UTF-8”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

2.0.1

  • Refreshed main code from WP 4.0.
  • Added some images.
  • Improved the description.
  • Added banner and icon.

2.0.0

  • Added complete support for data written to and read from the database.

1.0.2

  • Fixed the unescape method so that it works on large strings as well.

1.0.1

  • Fixed a small bug in a path that made 1.0.0 unusable.

1.0.0

  • First version.