A Spectre Is Haunting Unicode
摘要
文章讲述日本 JIS X 0208 编码标准中一组来源不明的 "幽灵字符"(幽霊文字)的由来。1978 年该标准发布后,人们发现若干字符没有明确出处;1997 年的调查通过访谈编目人员确认,多数幽灵字符是编目过程中的笔误或排版错误造成的,例如 妛 是 "山" 与 "女" 剪贴拼接时误加笔画所致。最终只有 彁 一个字符既无来源也无历史先例,最可能是对 彊 的误读。这些字符随后进入 Unicode,并因中日韩统一表意文字而引入另一批幽灵字符。文末附有相关参考链接,包括 1997 年调查的引用来源、彁 在数字化报纸中的误用实例等。
荐读理由
JIS 编码里混入的幽灵字符是当年排版失误被固化进标准的,这提醒你字符集这类底层设施也可能藏着未被发现的人为错误,值得在工程判断里留个心眼
原文
A Spectre is Haunting Unicode
This post is part of collections on Code and Computers and Japanese Language Technology.
In 1978 Japan's Ministry of Economy, Trade and Industry established the encoding that would later be known as JIS X 0208, which still serves as an important reference for all Japanese encodings. However, after the JIS standard was released people noticed something strange - several of the added characters had no obvious sources, and nobody could tell what they meant or how they should be pronounced. Nobody was sure where they came from. These are what came to be known as the ghost characters (幽霊文字).
For a long time the ghost characters remained an unexplained and mostly forgotten curiosity, but in 1997 an investigation was launched to discover where they had come from. While all characters in the JIS standard were supposed to have a record of their sources, even when it existed it wasn't very specific, typically just listing the document it was sourced from.
You'd think that listing the source would make tracking down the origins of the characters easy, but it's important to clarify what counts as a "source" - one of the more common sources for the ghost characters was the "Overview of National Administrative Districts" (国土行政区画総覧), a comprehensive list of place names in Japan. You might, as I initially did, imagine this to be a kind of atlas, an oversize book with at most a few hundred pages. It turns out the latest edition is a seven volume set with each volume having roughly nine hundred pages. Imagine tracking down a single character without a page reference.
Despite the difficulty, the investigation into the ghost characters was successful in discovering their origins - mostly. By interviewing the catalogers involved in the creation of the standard, the investigators established that some characters were inadvertently invented as mistakes in the cataloging process. For example, 妛 was an error introduced while trying to record "山 over 女". "山 over 女" occurs in the name of a particular place and was thus suitable for inclusion in the JIS standard, but because they couldn't print it as one character yet, 山 and 女 were printed separately, cut out, and pasted onto a sheet of paper, and then copied. When reading the copy, the line where the two little pieces of paper met looked like a stroke and was added to the character by mistake. The original character (𡚴) was not added to JIS or Unicode until much later and doesn't display on most sites for me.
The core ghost characters: 妛挧暃椦槞蟐袮閠駲墸壥彁
In the end only one character had neither a clear source nor any historical precedent: 彁. The most likely explanation is that it was created as a misreading of the 彊 character, but no specific incident was uncovered.
Following the general adoption of the JIS standards these characters all made their way into Unicode, which has its own separate set of ghost characters introduced during CJK unification.
To sum up - in 1978 a series of small mistakes created some characters out of nothing. The errors went undiscovered just long enough to be set in stone, and now these ghosts are, at least in potential, a part of every computer on the planet, lurking in the dark corners of character tables.
At this rate they'll presumably be with humanity forever. Ψ
References / related links:
幽霊文字 ‐ 通信用語の基礎知識 - the most thorough online source, with citations from the 1997 investigation.
大正十二年の幽霊文字 - ことばマガジン:朝日新聞デジタル - an example of 彁 mistakenly used in a digitized Taisho newspaper due to a faded printing of 彊.
Nico Nico Douga's Wiki treats each of them as the name of a youkai.
天书 or A Book from the Sky, a hand-printed book by Xu Bing using only made-up Chinese characters.
2018-07-29T14:03:09+09:00
这条对你有帮助吗?

