#include <sys/types.h>#include "config.h"#include "screen.h"#include "extern.h"Classes | |
| struct | encoding |
| struct | recodetab |
| struct | combchar |
Defines | |
| #define | RECODETAB_ALLOCED 1 |
| #define | RECODETAB_BUILTIN 2 |
| #define | RECODETAB_TRIED 4 |
Functions | |
| void | InitBuiltinTabs () |
| mchar * | recode_mchar (struct mchar *mc, int from, int to) |
| mline * | recode_mline (struct mline *ml, int w, int from, int to) |
| void | AddUtf8 (int c) |
| int | ToUtf8_comb (char *p, int c) |
| int | ToUtf8 (char *p, int c) |
| int | FromUtf8 (int c, int *utf8charp) |
| void | WinSwitchEncoding (struct win *p, int encoding) |
| int | utf8_isdouble (int c) |
| int | utf8_iscomb (int c) |
| void | utf8_handle_comb (int c, struct mchar *mc) |
| int | FindEncoding (char *name) |
| char * | EncodingName (int encoding) |
| int | EncodingDefFont (int encoding) |
| void | ResetEncoding (struct win *p) |
| int | DecodeChar (int c, int encoding, int *statep) |
| int | EncodeChar (char *bp, int c, int encoding, int *fontp) |
| int | CanEncodeFont (int encoding, int f) |
| int | PrepareEncodedChar (int c) |
| int | RecodeBuf (unsigned char *fbuf, int flen, int fenc, int tenc, unsigned char *tbuf) |
| int | ContainsSpecialDeffont (struct mline *ml, int xs, int xe, int encoding) |
| int | LoadFontTranslation (int font, char *file) |
| void | LoadFontTranslationsForEncoding (int encoding) |
Variables | |
| unsigned char * | null |
| display * | display |
| display * | displays |
| layer * | flayer |
| char * | screenencodings |
| encoding | encodings [] |
| combchar ** | combchars |
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||||||
|
|
|
||||||||||||||||||||||||
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
Initial value: {
{ "C", 0, 0, 0, 0, 0 },
{ "eucJP", "B\002I\00401", 0, 1, 0, "\002\004I" },
{ "SJIS", "BIBB01", 0, 1, 1, "\002I" },
{ "eucKR", "B\003BB01", 0, 1, 0, "\003" },
{ "eucCN", "B\001BB01", 0, 1, 0, "\001" },
{ "Big5", "B\030BB01", 0, 1, 0, "\030" },
{ "KOI8-R", 0, 0x80|'!', 0, 1, 0 },
{ "CP1251", 0, 0x80|'?', 0, 1, 0 },
{ "UTF-8", 0, -1, 0, 0, 0 },
{ "ISO8859-2", 0, 0x80|'B', 0, 0, 0 },
{ "ISO8859-3", 0, 0x80|'C', 0, 0, 0 },
{ "ISO8859-4", 0, 0x80|'D', 0, 0, 0 },
{ "ISO8859-5", 0, 0x80|'L', 0, 0, 0 },
{ "ISO8859-6", 0, 0x80|'G', 0, 0, 0 },
{ "ISO8859-7", 0, 0x80|'F', 0, 0, 0 },
{ "ISO8859-8", 0, 0x80|'H', 0, 0, 0 },
{ "ISO8859-9", 0, 0x80|'M', 0, 0, 0 },
{ "ISO8859-10", 0, 0x80|'V', 0, 0, 0 },
{ "ISO8859-15", 0, 0x80|'b', 0, 0, 0 },
{ "jis", 0, 0, 0, 0, "\002\004I" },
{ "GBK", "B\031BB01", 0x80|'b', 1, 1, "\031" }
}
|
|
|
|
|
|
|
|
|
|
1.4.3