From owner-freebsd-questions@FreeBSD.ORG Tue Sep 8 12:06:58 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6D7D106566C for ; Tue, 8 Sep 2009 12:06:58 +0000 (UTC) (envelope-from lists@bertram-scharpf.de) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.9]) by mx1.freebsd.org (Postfix) with ESMTP id 5BC5C8FC0C for ; Tue, 8 Sep 2009 12:06:58 +0000 (UTC) Received: from bs.l (e180034209.adsl.alicedsl.de [85.180.34.209]) by mrelayeu.kundenserver.de (node=mrbap0) with ESMTP (Nemesis) id 0MKsym-1MkzTL076S-000lY1; Tue, 08 Sep 2009 14:06:55 +0200 Received: from bsch by bs.l with local (Exim 4.69) (envelope-from ) id 1MkzTK-0004rm-He for freebsd-questions@freebsd.org; Tue, 08 Sep 2009 14:06:54 +0200 Date: Tue, 8 Sep 2009 14:06:54 +0200 From: Bertram Scharpf To: freebsd-questions@freebsd.org Message-ID: <20090908120654.GB18404@marge.bs.l> Mail-Followup-To: freebsd-questions@freebsd.org References: <20090908045202.GA16556@thought.org> <4AA5F2FB.8080006@mapper.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <4AA5F2FB.8080006@mapper.nl> User-Agent: Mutt/1.5.16 (2007-06-09) Sender: Bertram Scharpf X-Provags-ID: V01U2FsdGVkX18ExhnsUhg5T/hb9Zz3e0syE92uku/odFrFWIQ Vjd2KXMjuvFtR/XWFmDLShPIGCt3Z4+EBjsL49yRvJXfxY/6P0 2PixVWE+WHADOP5VLADJXbQb/pHeq2sNKBKdyBiK9o= Subject: Re: how to get rid of a character, 0x80? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2009 12:06:58 -0000 Hi, Am Dienstag, 08. Sep 2009, 08:00:27 +0200 schrieb Mark Stapper: > Gary Kline wrote: > > anybody know why getchar() doesn't see 0x80 =3D=3D 0200? >=20 > Presumably, you want to read a capital C with cedille? (0x80 128 =C7) "\x80" is a nonbreakable space in iso8859-1/-15. (And a Euro sign in Windows-1252). Who uses cp437/cp850 on BSD? > besides.. 0x80!=3D0200 $ ruby -e 'puts 0x80, 0200' 128 128 Bertram --=20 Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de