tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: UTF8 (Was: [PATCH] replace 0xA0 to whitespace in plain text files (part 2))

>> There really is no such thing as a UTF-8 font.  [...]
> OS/X seems to have no problem displaying UTF-8 data sent to a
> terminal window for instance.

Sure.  But the terminal emulator is converting between the
UTF-8-encoded octet stream and whatever encoding the font uses; the
font knows nothing about UTF-8.  It just knows Unicode codepoints
(16-bit, 24-bit, whatever, depending on the font).  Encoding those
codepoints into an octet stream is completely outside the font's

/~\ The ASCII                           der Mouse
\ / Ribbon Campaign
 X  Against HTML      
/ \ Email!           7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B

Home | Main Index | Thread Index | Old Index