On Fri, 10 Feb 2006, Jukka K. Korpela wrote:
Assuming we've installed an adequate range of fonts, anyway.
The assumption often fails. Maybe the system just hasn't got a font
with Chinese characters. Besides, no existing font is sufficient for
rendering _all_ Chinese characters.
I noticed, when I'm using linux Mozilla, that when it hasn't got a
glyph to display, it displays a box with the Unicode character number
in it (which could then be looked-up in the Unicode specification...)
It occurred to me that we might use Ruby markup in cases like this.
Right - it does seem to be meant for just this kind of purpose.
http://www.w3.org/International/tutorials/ruby/
(If anyone's confused about this - this is *not* about the
program scripting language called Ruby).
I've made no secret of the fact that I know very little about CJK
writing systems, so I hadn't looked much at ruby. But prompted by
your example, I've taken a look and it does seem rather good.
(Are we allowed to use this to annotate English-language document with
English-language annotations? Just a throwaway thought...)
As they rightly say, it's not valid in HTML/4 nor XHTML/1.0, so it's
stretching things a bit to include it in current documents; but it's
been designed for graceful fallback, and seems indeed to behave well,
despite making the document fail validation.
I suppose you wouldn't care to make it technically valid by using
XHTML/1.1 (and, for obvious reasons, deciding not to follow the W3C's
"SHOULD" about not serving it as text/html) ?
If I try to view the W3C's XHTML/1.1 test
http://www.w3.org/International/test...-markup-1.html
in IE6, I get an alert telling me "Your current security settings do
not allow this file to be downloaded." ;-)
I couldn't resist trying the Mozilla extension mentioned at W3C,
namely
http://piro.sakura.ne.jp/xul/_rubysupport.html.en
And indeed it seems to work with your document.
cheers