西山和広です。

At Fri, 19 Jun 2009 17:48:40 +0900,
matuaki wrote:
> 
> ちなみに「♯」については(この記号は「しゃーぷ」と入力して変換した音楽の
> 記号)ふりがな情報はデフォルトではないのですが、ふりがなの編集を選択する
> と「シャープ」という文字が候補で表示されました。キーボードから「#」を入
> 力した場合は、編集の候補は「#」でした。
> シャープに2種類あることを初めて知りました。^^;
> それでテストケース作成の際には少し注意が必要かと思いました。

私の知っている限りでは Unicode には 1 種類しかないようです。

♯ U+266F MUSIC SHARP SIGN
# U+0023 NUMBER SIGN
# U+FF03 FULLWIDTH NUMBER SIGN


number sign がシャープとよく間違えられているという話がありますが、

http://ja.wikipedia.org/wiki/%E4%BA%95%E6%A1%81_(%E6%9B%96%E6%98%A7%E3%81%95%E5%9B%9E%E9%81%BF)
http://www.excite.co.jp/News/bit/00091187538923.html

http://ja.wikipedia.org/wiki/%E7%95%AA%E5%8F%B7%E8%A8%98%E5%8F%B7
| この記号をシャープと呼ぶことが多いが、音楽記号のシャープ(♯)が五線か
| ら見分けるために横線が斜めになり、縦線はまっすぐなのに対し、# は横線は
| まっすぐで縦線が普通斜めに書かれる点が異なる。

という違いがあります。


C# については

http://en.wikipedia.org/wiki/Number_sign
| sharp
| 
|     * resemblance to the glyph used in music notation, U+266F (?). Since most 
fonts do not contain the sharp sign, many works use the fallback number sign.
|     * so called in the name of the Microsoft-invented programming language, 
C#. However Microsoft says at Frequently Asked Questions About C#:
|       It's not the "hash" (or pound) symbol as most people believe. It's 
actually supposed to be the musical sharp symbol. However, because the sharp 
symbol is not present on the standard keyboard, it's easier to type the hash 
("#") symbol. The name of the language is, of course, pronounced "see sharp".
|       According to the ECMA-334 C# Language Specification, section 6, 
Acronyms and abbreviations, the name of the language is written "C#" ("LATIN 
CAPITAL LETTER C (U+0043) followed by the NUMBER SIGN # (U+0023)") and 
pronounced "C Sharp".

ということで意図的に代用しているようです。


-- 
|ZnZ(ゼット エヌ ゼット)
|西山和広(Kazuhiro NISHIYAMA)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

メールによる返信