Skip to content
Karl Ramm edited this page Mar 31, 2009 · 10 revisions

Zephyr's concession to internationalization basically consists of declaring character sets.

Version 3.0 adds two new header fields fields, the second of which is a 16-bit number (kind of a waste really), that represents the MibEnum number of a character set. (Go look it up at IANA.ORG). In practice this MUST be either 0 (for Unspecified), 4 for ISO-8859-1 (The defacto standard in most current zephyr usage), or 106 for UTF-8 (the only reasonable thing going forward if the payload is representing text).

zwrite and zaway now have a -x option for specifying the outgoing character set.

zwgc should get a similar option. At the moment, it merely sticks a variable charset into the zwgc.desc context. The next step is to have the tty output port convert to whatever the stated or deducible output character set is, and the X11 driver to transliterate to 8859-1.

(It would be nice if it just displayed wide characters, and there is a patch in the works for that, but given the available free time of the various people working on it, I'm not making any bets.)

Clone this wiki locally