From: Alex Riesen Date: Sat, 13 Jan 2007 11:02:38 GMT Subject: Re: [PATCH] Reencode committer info to utf-8 before formatting mail header Message-ID: <20070113110238.GA2795@steel.home> In-Reply-To: <7vr6tzogp4.fsf@assigned-by-dhcp.cox.net> Junio C Hamano, Sat, Jan 13, 2007 02:31:35 +0100: > +/* High bit set, or ISO-2022-INT */ > +static int non_ascii(int ch) > +{ > + ch = (ch & 0xff); > + return ((ch & 0x80) || (ch == 0x1b)); > +} > + "return (ch & 0x0x80) || (ch & 0xff) == 0x1b;" :)