screen-users
[Top][All Lists]
Advanced

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

Pointers on adding encodings?


From: Phil!Gregory
Subject: Pointers on adding encodings?
Date: Mon, 8 Aug 2005 13:06:49 -0400
User-agent: Mutt/1.5.9i

I think I'm finally going to get around to adding CP437 support to screen.
It looks like what I have to do is add an entry for it to encodings[] in
encodings.c, with the value for deffont corresponding to a filename in the
utf8encodings directory.  From the look of things, charsets, usegr, noc1,
and fontlist can all be null; is that correct?

How were the current values for deffont chosen?  Can I just pick something
out of the air, or is there a scheme I should follow?

The files seem to be null-separated mappings of charset codepoints to
Unicode codepoints, with some header information.  Is there some tool
around to make editing the files easier?

-- 
...computer contrarian of the first order... / http://aperiodic.net/phil/
PGP: 026A27F2  print: D200 5BDB FC4B B24A 9248  9F7A 4322 2D22 026A 27F2
--- --
<awkward> anyone around?
   <Flav> no, we're all irregular polygons
                       -- seen on #debian




reply via email to

[Prev in Thread] Current Thread [Next in Thread]