Files
Linux/include/linux/consolemap.h
T
Jan Engelhardt 759448f459 Kernel utf-8 handling
This patch fixes dead keys and copy/paste of non-ASCII characters in UTF-8
mode on Linux console.  See more details about the original patch at:
http://chris.heathens.co.nz/linux/utf8.html

Already posted on
	(Oldest) http://lkml.org/lkml/2003/5/31/148
	         http://lkml.org/lkml/2005/12/24/69
	(Recent) http://lkml.org/lkml/2006/8/7/75

[[email protected]: make drivers/char/selection.c:store_utf8() static]
Signed-off-by: Jan Engelhardt <[email protected]>
Cc: Alexander E. Patrakov <[email protected]>
Cc: Dmitry Torokhov <[email protected]>
Cc: "Antonino A. Daplas" <[email protected]>
Signed-off-by: Adrian Bunk <[email protected]>
Cc: David Woodhouse <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2007-07-16 09:05:46 -07:00

20 lines
488 B
C

/*
* consolemap.h
*
* Interface between console.c, selection.c and consolemap.c
*/
#define LAT1_MAP 0
#define GRAF_MAP 1
#define IBMPC_MAP 2
#define USER_MAP 3
#include <linux/types.h>
struct vc_data;
extern u16 inverse_translate(struct vc_data *conp, int glyph, int use_unicode);
extern unsigned short *set_translate(int m, struct vc_data *vc);
extern int conv_uni_to_pc(struct vc_data *conp, long ucs);
extern u32 conv_8bit_to_uni(unsigned char c);
void console_map_init(void);