From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: <200105231629.MAA22583@math.psu.edu> To: 9fans@cse.psu.edu From: Dan Cross Subject: [9fans] latin1() and unicode()? Date: Wed, 23 May 2001 12:29:23 -0400 Topicbox-Message-UUID: a645babe-eac9-11e9-9e20-41e7f4b1d025 /sys/src/9/port/latin1.c contains these two useful routines for converting character strings into unicode runes. this is what the keyboard driver uses to translate, eg, Latin, ':', ')' into the Unicode smiley face character, for instance. It seems as though this code could have utility outside of the kernel; is there any reason not to move it into libc? - Dan C.