<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.28.3">
</HEAD>
<BODY>
Le dimanche 29 août 2010 à 16:03 +0400, Alexey Gladkov a écrit :<BR>
<BLOCKQUOTE TYPE=CITE>
<BR>
<TT><FONT COLOR="#666666">You suggest to replace different types of whitespace symbols with 0x20.</FONT></TT><BR>
<BR>
<TT><FONT COLOR="#666666">Have I understood you correctly?</FONT></TT> <BR>
</BLOCKQUOTE>
Indeed.<BR>
<BR>
The narrow non-break-space char is supposed to be the same as the non-break space char except that it's half the width (well, some say it's more some say it's less... 50% is a fair compromise I think ;-))<BR>
AFAIK, kbd is only used with monospaced font so using 0x20 as a fallback is ok I think.<BR>
<BR>
Some say that characters have semantics, and if this semantic includes width restrictions, they should be preserved even with monospaced fonts.<BR>
But this may be harder to implement, so using 0x20 is sufficient (and especially because there isn't any support of nnbsp in kbd right now).<BR>
<BR>
Of course it would be better if nnbsp were at least "unbreakable" but, with the current kbd, even non-break spaces break (because they are mapped to 0x20). Perhaps this is by design, I don't know.<BR>
<BR>
Regards,<BR>
Nicolas
</BODY>
</HTML>