9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Dan Cross <cross@math.psu.edu>
To: 9fans@cse.psu.edu
Subject: [9fans] latin1() and unicode()?
Date: Wed, 23 May 2001 12:29:23 -0400	[thread overview]
Message-ID: <200105231629.MAA22583@math.psu.edu> (raw)

/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.



             reply	other threads:[~2001-05-23 16:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-23 16:29 Dan Cross [this message]
2001-05-23 22:00 ` Boyd Roberts
2001-05-23 16:46 Russ Cox
2001-05-23 17:45 ` Dan Cross
2001-05-23 18:10   ` Dan Cross
2001-05-23 22:06 forsyth
2001-05-24  0:22 ` Boyd Roberts

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200105231629.MAA22583@math.psu.edu \
    --to=cross@math.psu.edu \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).