First draft of Unicode support in pterm. It's pretty complete: it
does UTF-8 copy and paste (falling back to normal strings if necessary), it understands X font encodings and translates things accordingly so that if you have a Unicode font you can ask for virtually any single-byte encoding and get it (Mac-Roman pterm, anyone?), and so on. There's work left to be done (wide fonts for CJK spring to mind), but I reckon this is a pretty good start. [originally from svn r2395]
Showing
- Recipe 4 additions, 1 deletionRecipe
- charset/.cvsignore 1 addition, 0 deletionscharset/.cvsignore
- charset/README 11 additions, 0 deletionscharset/README
- charset/charset.h 120 additions, 0 deletionscharset/charset.h
- charset/enum.c 19 additions, 0 deletionscharset/enum.c
- charset/fromucs.c 91 additions, 0 deletionscharset/fromucs.c
- charset/internal.h 89 additions, 0 deletionscharset/internal.h
- charset/mimeenc.c 209 additions, 0 deletionscharset/mimeenc.c
- charset/sbcs.c 45 additions, 0 deletionscharset/sbcs.c
- charset/sbcs.dat 698 additions, 0 deletionscharset/sbcs.dat
- charset/sbcsgen.pl 95 additions, 0 deletionscharset/sbcsgen.pl
- charset/slookup.c 29 additions, 0 deletionscharset/slookup.c
- charset/toucs.c 89 additions, 0 deletionscharset/toucs.c
- charset/utf8.c 877 additions, 0 deletionscharset/utf8.c
- charset/xenc.c 92 additions, 0 deletionscharset/xenc.c
- mkfiles.pl 7 additions, 2 deletionsmkfiles.pl
- unix/pterm.1 22 additions, 0 deletionsunix/pterm.1
- unix/pterm.c 191 additions, 15 deletionsunix/pterm.c
- unix/unix.h 12 additions, 1 deletionunix/unix.h
- unix/uxucs.c 135 additions, 31 deletionsunix/uxucs.c
Loading
Please register or sign in to comment