From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: auto-recognizing utf-16le ? Date: Tue, 16 Jun 2009 17:01:23 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1245164560 3429 80.91.229.12 (16 Jun 2009 15:02:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Jun 2009 15:02:40 +0000 (UTC) Cc: emacs-devel@gnu.org, miles@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 16 17:02:36 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MGaBH-0001dp-Ds for ged-emacs-devel@m.gmane.org; Tue, 16 Jun 2009 17:02:36 +0200 Original-Received: from localhost ([127.0.0.1]:44595 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MGaBG-0000yc-CJ for ged-emacs-devel@m.gmane.org; Tue, 16 Jun 2009 11:02:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MGaAH-0000m2-Mv for emacs-devel@gnu.org; Tue, 16 Jun 2009 11:01:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MGaAC-0000jc-D0 for emacs-devel@gnu.org; Tue, 16 Jun 2009 11:01:32 -0400 Original-Received: from [199.232.76.173] (port=50807 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MGaAB-0000jT-VN for emacs-devel@gnu.org; Tue, 16 Jun 2009 11:01:28 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.9]:40262) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MGaA0-0006Oy-6S; Tue, 16 Jun 2009 11:01:16 -0400 Original-Received: from mail01.m-online.net (mail.m-online.net [192.168.3.149]) by mail-out.m-online.net (Postfix) with ESMTP id CDFA41C14E6C; Tue, 16 Jun 2009 17:01:07 +0200 (CEST) X-Auth-Info: ClxJ57CuVJHhlNwDC8eMNmRCrj6IquYnS3dho17A6x0= Original-Received: from whitebox.home (DSL01.83.171.159.55.ip-pool.NEFkom.net [83.171.159.55]) by mail.mnet-online.de (Postfix) with ESMTP id B28139032E; Tue, 16 Jun 2009 17:01:07 +0200 (CEST) Original-Received: by whitebox.home (Postfix, from userid 501) id 3D50B1E533D; Tue, 16 Jun 2009 17:01:24 +0200 (CEST) X-Yow: It's OBVIOUS.. The FURS never reached ISTANBUL.. You were an EXTRA in the REMAKE of ``TOPKAPI''.. Go home to your WIFE.. She's making FRENCH TOAST! In-Reply-To: (Kenichi Handa's message of "Tue, 16 Jun 2009 11:04:15 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:111541 Archived-At: Kenichi Handa writes: > And, I've just installed a fix of another bug. I think instead of while (detect_info->rejected != CATEGORY_MASK_UTF_16) you probably want to check this: while ((detect_info->rejected & CATEGORY_MASK_UTF_16) != CATEGORY_MASK_UTF_16) since there may be bits for other categories already set in rejected. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."