From owner-freebsd-questions Sun Jan 5 0: 3: 7 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7AB7F37B401 for ; Sun, 5 Jan 2003 00:03:05 -0800 (PST) Received: from solomon.io.com (solomon.io.com [199.170.88.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F0B443E4A for ; Sun, 5 Jan 2003 00:03:01 -0800 (PST) (envelope-from eighner@io.com) Received: from io.com (aus-as2-018.io.com [199.170.89.18]) by solomon.io.com (8.11.2/8.11.2) with SMTP id h0582rM04726; Sun, 5 Jan 2003 02:02:53 -0600 Date: Sun, 5 Jan 2003 02:04:05 -0600 (CST) From: Lars Eighner To: eighner@io.com Cc: "freebsd-questions@freebsd.org" Subject: Re: (OT) non-keyboard ascii characters In-Reply-To: <20030105064632.0391848463@wastegate.net> Message-ID: <20030105020106.V6123-100000@dumpster.io.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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