1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-06-30 19:12:48 -05:00

Proper support for using the font's own character encoding. If we

know what that encoding actually is, we can do our best to support
additional charsets (VT100 linedrawing, SCO ACS, UTF-8 mode) using
the available characters; if we don't, we fall back to a mode where
we disable all Unicode cut-and-paste and assume any Unicode
character is undisplayable.

[originally from svn r2413]
This commit is contained in:
Simon Tatham
2003-01-01 22:25:25 +00:00
parent d97ac46223
commit cab553028a
6 changed files with 138 additions and 61 deletions

View File

@ -589,7 +589,7 @@ extern char ver[];
#ifndef CP_UTF8
#define CP_UTF8 65001
#endif
void init_ucs(void);
/* void init_ucs(void); -- this is now in platform-specific headers */
int is_dbcs_leadbyte(int codepage, char byte);
int mb_to_wc(int codepage, int flags, char *mbstr, int mblen,
wchar_t *wcstr, int wclen);