by Michael S. Kaplan, published on 2007/03/28 03:01 -04:00, original URI: http://blogs.msdn.com/b/michkap/archive/2007/03/28/1972239.aspx
(No, this post is not about anything kinky)
If you are a regular reader then you know that I have been talking about the Yen (U+00a5) for a long time.
Now I fully understand why Microsoft went down the road of having U+005c (REVERSE SOLIDUS) look like U+00a5 (YEN SIGN). Some of those posts above and the one they link to even get into some of the reasons and some of the history.
You can think of the collation change to make them look the same with Japanese to mean that NLS is something of an enabler here. :-(
But now it looks like that road is in the process of leading us somewhere bad....
It turns out that IE7, this was changed (someone had to buck the system eventually?), when a Japanese font is not explicitly selected. In the words of one team member:
With the movement to Unicode and IDN, we need to move away from the Japanese system specific changing of the BACKSLASH character to the YEN sign. The only place this is used in this way is for path information. If the customer wants the YEN for monitary values they need to use the correct Unicode value for YEN. The currency symbol *is not* U+005C.
Of course there will be some problems here (there often are when someone decides not to do what "everyone has always done").
I mean, you can note that most (all?) of the input methods dealing with the Yen are inserting U+005c where than Yen character sits on the keyboard. This doesn't matter for ANSI apps (best fit mappings would convert U+00a5 to 0x5c (which will roundtrip to U+005c) anyway. But for Unicode apps it has entirely destroyed the distinction between U+005c and U+00a5.
So basically there are a whole bunch of situations where people using Japanese will not be seeing the money, even if they have as yen to do so....
I wonder what FireFox does here? Anyone want to give it a try? :-)
This post brought to you by \ (U+005c, a.k.a. REVERSE SOLIDUS, a character that people in Japan may find themselves seeing a lot more of)
# Carl on 28 Mar 2007 6:03 PM:
From http://web.archive.org/web/20050312062050/http://www.cs.mcgill.ca/~aelias4/encodings.html :
"The 7-bit part (i.e. 0x00 to 0x7f) of JIS X 0201 is identical to ASCII, with two exceptions: the backslash character '\' (0x5c) is replaced by a yen symbol, and the tilde character '~' (0x7c) becomes an overline. Thus, displaying ASCII text in a Japanese font will work almost perfectly --- except that all your backslashes will turn into yens. This problem is so pervasive that it is no longer really a "problem" at all: Japanese people all know and expect to find yen symbols instead of backslashes in such things as DOS/Windows path separators. This bug has been around for so long, it is now embedded into the very fabric of the universe. It will never be fixed, and will probably live on even when Unicode becomes the standard. So you can either travel back in time to the 60s to assassinate the guy who decided this, or learn to think of the yen and the backslash as just variant ways of writing the same character."
I personally support the time traveling assassination option. However, if the IE team thinks they can get some traction on this thing by forcing it, more power to them. Whatever it takes, fix this thing!
# Yenitis on 28 Mar 2007 8:19 PM:
I know the reasoning and history as well. However, I really disagree with it, and it has been a problem for many years. I never want to see a yen glyph for U+005C. I got yen signs scattered around my code and documents. It hurts readability. When I really do want a yen sign, I will use U+00A5. (Actually, I typically use U+5186 in Japanese text and write out the word as Yen in English.) It's a real disservice.
By overloading the meaning, the only way that I can distinguish U+005C and U+00A5 is by looking at the bit patterns; this is a daily task. I must applaud the IE7 team. (However, I am on Win2000 JP now, so I can not test it.) I only wish Windows as a whole would do the same.
# Michael S. Kaplan on 28 Mar 2007 8:41 PM:
For me, the main problem would be the lack of methods available to type the actual yen....
# wagahai on 28 Mar 2007 9:06 PM:
There are several immediate solutions for typing the currency symbol.
1) Japanese IME.
Currently, the default behavior provides the following conversions for えん (en):
U+005C: [半]〔通貨〕円 <-- wrong; not a currency!
U+FFE5: [全]〔通貨〕円 <-- better, but still not the preferred character
Propose: Add U+00A5 to the default list. Also, fix the above comments.
Until then, people who care can manually register U+00A5 for conversion.
2) Custom keyboard layouts.
You may argue that knowledge of how to type in Japanese with the Japanese IME would be required to use option 1. True. However, the situation is only apparent with Japanese fonts. Send those documents to non-Japanese systems and the reader will most likely get a backslash, which will cause confusion.
To the IE Team, great job. Hopefully you have started something that all of Microsoft can continue to once and for all fix this long overdue issue.
# Rosyna on 29 Mar 2007 3:59 AM:
There is ¥ and then there is 円.
# Marluxia Kyoshu on 2 Mar 2008 8:15 AM:
Well I use all Japanese typesets because I'm trying to learn how to type and speak in Japanese... and using Meiryo font (Japanese sleek vista font) I get little trouble since all of my directories use forward slash '/' except in some installers... I notice it sometimes though and it does annoy me... Pretty much any time \ is called in FireFox I get ¥ instead
"Originally, the backslash was intended to be able to form half of the symbols /¥ and /¥" That's hilarious...
Ironically, while uploading these pics, I found another instance:
# Michael S. Kaplan on 2 Mar 2008 10:25 AM:
Nothing that Microsoft can do if FireFox does not also want to take steps to start changing this behavior....
Yuhong Bao on 11 Jan 2011 12:59 AM:
Note that the Japanese and Korean versions are not the only variants. Wikipedia has a complete list of all of the variants of ISO 646:
Good thing DOS/Windows never supported any of the other ones!
go to newer or older post, or back to index or month or day