Date: Sun, 5 Jan 2003 02:04:05 -0600 (CST) From: Lars Eighner <eighner@io.com> To: eighner@io.com Cc: "freebsd-questions@freebsd.org" <freebsd-questions@FreeBSD.ORG> Subject: Re: (OT) non-keyboard ascii characters Message-ID: <20030105020106.V6123-100000@dumpster.io.com> In-Reply-To: <20030105064632.0391848463@wastegate.net>
index | next in thread | previous in thread | raw e-mail
On Sun, 5 Jan 2003, Doug Reynolds wrote:
> On Tue, 31 Dec 2002 16:51:29 -0500 (EST), John Bleichert wrote:
>
> >Hello All
> >
> >Is there anyway to get e.g. a u with an umlaught over it (ASCII 159 I
> >think) in a text emailer like pine or mutt, if your keyboard doesn's have
> >said character? How about text editors like nedit?
> >
> >Hopefully not too, too offtopic.
>
> back in the olden days with DOS, you'd hold down the alt key and punch
> in the ASCII code into the numeric keypad. it still works with winXP,
> but never tried it on freebsd.
First of all, there is no such thing as ASCII 159. ASCII is
a seven-bit standard. So what you get for character 159
depends upon which eight-bit charater set you are using.
In ISO-8859-1, the lower case u with umlaut is character
252.
Entering non-keyboard characters is, of course, a function
of your editor. In pico (the native pine editor), you can
hold down alt and enter three numbers from the key pad. If
you have entered something from 000 through 255, the
character will appear when you release the alt key. Most
other editors have ways of doing it, although they differ
since Unix-like software tends to assume terminals don't
have alt keys.
This doesn't solve the main problem, however, which is,
unless you MIME your mail, you really don't know what the
character will look like to the person who receives the
mail. The nearest thing to a default 8-bit standard is
iso-8859-1, but since you think 159 is an umlaut u, you
obviously aren't using it.
--
Lars Eighner
eighner@io.com -finger for geek code-
http://www.io.com/~eighner/index.html
600 E 53RD ST APT 119 AUSTIN TX 78751
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030105020106.V6123-100000>
