Force Wave Dash

from 0$

Force Wave Dash is a Package Installer from the Open Source WP Plugins range to force "WAVE DASH" characters other than "FULLWIDTH TILD".

For more information about a tailored Package Installer like Force Wave Dash please contact us directly.

日本語で読む

When using Unicode in Japanese, there is “WAVE DASH Problem”, “FULLWIDTH HYPHEN Problem”:
a problem which similar-glyph but different-code-character are used in Unicode texts.
Below are invalid (left) and prefered (right) pairs:

  • “~” U+FF5E FULLWIDTH TILD -> “〜” U+301C WAVE DASH
  • “―” U+2015 HORIZONTAL BAR -> “—” U+2014 EM DASH
  • “-” U+FF0D FULLWIDTH HYPHEN-MINUS -> “−” U+2212 MINUS SIGN
  • “¢” U+FFE0 FULLWIDTH CENT SIGN -> “¢” U+00A2 CENT SIGN
  • “£” U+FFE1 FULLWIDTH POUND SIGN -> “£” U+00A3 POUND SIGN
  • “¬” U+FFE2 FULLWIDTH NOT SIGN -> “¬” U+00AC NOT SIGN

For example, the punctuation called wave dash “〜” is used for various purposes:

  • growing the end of the word (e.g. “え〜”)
  • showing range between two words (e.g. “東京〜大阪”)
  • decoration for a title (e.g. “〜〜波ダッシュとは〜〜”)

But, the Unicode character sets has two different code for wave-shape characters.
One is U+301C “〜” as “WAVE DASH”, the other one is U+FF5E “~” as “FULLWIDTH TILD”.
Moreover, Microsoft Windows mainly uses U+FF5E, and other environments (such as
Mac OS X, Linux, Perl, PHP, Java) mainly uses U+301C.

“WAVE DASH problem” is a phenomenon that different “wave-shape characters” are
mixed in Unicode texts.
For example, below cases will occur:

  1. A Mac OS X or Linux user have chance to borrow a Microsoft Windows computer
    to update the weblog, some FULLWIDTH TILD mixed!!
    (Because Windows uses FULLWIDTH TILD.)

  2. A Windows user who uses mainly FULLWIDTH TILD in his/her weblog, tried to
    post using mobile phone. Some WAVE DASH will be included.
    (Because converting the encoding ISO-2022-JP for Japanese mail messages
    into UTF-8 with PHP function “mb_convert_encoding” results WAVE DASH.)

This plugin tries to solve the problem by replacing all “FULLWIDTH TILD” characters
into “WAVE DASH” ones in posts, pages, comments, categories, tags, blogroll (bookmarks),
and etc when you create, edit, and show them.

The root cause is that Microsoft Windows uses “FULLWIDTH TILD” instead of “WAVE DASH”.
Better character code should be “WAVE DASH” because other environments uses it.
This plugin canonicalize to use “WAVE DASH” by converting FULLWIDTH TILDs into them.

Also see below:
http://en.wikipedia.org/wiki/Wave_dash#Japanese

Below are Japanese articles:

  • http://slashdot.jp/%7Eyasuoka/journal/357074
  • http://www.asahi-net.or.jp/%7Ewq6k-yn/code/wavedash.html

Requirements

  • WordPress 2.0 or later
  • PHP 4.3 or later
  • UTF-8 encoding for weblog (This plugin is no use for EUC-JP, Shift_JIS weblogs)

Licence

The license of this plugin is GPL v2.

Download & install the zip archive

The plugin package installer can be downloaded from the WP2E project tab called “code”.

1 – Select the version to download if this option is available otherwise the “latest” version of the main plugin will be used.

2 – After downloading the zip archive install the plugin package installer in you local environment and activate the script from the plugin list.

3 – Under the section “Plugins” of the admin dashboard you should see a new “Dependencies & Licenses” link. Follow the instructions from this panel to finalize the installation of the missing dependencies.

Tips: Use the WP2E panel to add/suggest new dependencies to the local installation. Press F5 in the list of dependencies if the changes are not displayed right away.

Force Wave Dash

typePlugin
version1.0.0
descriptionto force "WAVE DASH" characters other than "FULLWIDTH TILD".