|
From: | Alexandre Courbot |
Subject: | Re: [Adonthell-devel] Non-Latin fonts |
Date: | Wed, 22 Jan 2003 20:52:09 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.2.1) Gecko/20021210 Debian/1.2.1-3 |
I think that's what happens, at least with UTF-8 (the encoding we'll most likely use). American characters are coded the same way as ASCII (that is, 7 bits), while other characters have the most significant bit of the first byte set, indicating they take two bytes. Simple, efficient, and would only require changes to the window system.In case it would return unicode strings somehow packed into a char* array, most of Adonthell would need no change. Only the window system that finally displays the text needs to understand unicode. The rest would just pass it through.
Alex. -- http://www.gnurou.org
[Prev in Thread] | Current Thread | [Next in Thread] |