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

On Sep 12, 2008, at 10:53 AM, der Mouse wrote:

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

OS/X seems to have no problem displaying UTF-8 data sent to a terminal window for instance.

(I work with UTF-8 all the time internationalizing at work)


Home | Main Index | Thread Index | Old Index