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))



> ... which in turn brings up the question of adding UTF-8 support in
> wscons, creating/finding UTF-8 console fonts, etc.

There really is no such thing as a UTF-8 font.  Fonts are mappings
between codepoints and glyphs, not between encodings and glyphs.
(Actually, strictly, they _are_ mappings between encodings and glyphs,
but all existing font machinery uses simple integer encodings, with no
way to even represent variable-length encodings such as UTF-8.  Well,
as far as I know, at least - I'd be very interested to hear of any
exceptions.)

/~\ The ASCII                           der Mouse
\ / Ribbon Campaign
 X  Against HTML                mouse%rodents-montreal.org@localhost
/ \ Email!           7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B


Home | Main Index | Thread Index | Old Index