這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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.