From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Pascal Quesseveur Newsgroups: gmane.emacs.help Subject: Problem to identify a mail charset with Rmail Date: Fri, 10 Apr 2015 17:44:51 +0200 Organization: Les Enchantements de Miraldra Message-ID: <86mw2goumk.fsf@gmail.com> Reply-To: pquessev@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1428687271 13837 80.91.229.3 (10 Apr 2015 17:34:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 10 Apr 2015 17:34:31 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 10 19:34:29 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ygcow-0001vv-5H for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Apr 2015 19:34:22 +0200 Original-Received: from localhost ([::1]:40572 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ygcov-0004ZG-GJ for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Apr 2015 13:34:21 -0400 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!cleanfeed2-b.proxad.net!nnrp6-1.free.fr!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (windows-nt) X-Attribution: PQsr Cancel-Lock: sha1:L5U4g+Ch+jYO4/GOL0Zp5TZ/ISE= Original-Lines: 14 Original-NNTP-Posting-Date: 10 Apr 2015 17:44:52 CEST Original-NNTP-Posting-Host: 78.241.156.15 Original-X-Trace: 1428680692 news-4.free.fr 3355 78.241.156.15:50506 Original-X-Complaints-To: abuse@proxad.net Original-Xref: usenet.stanford.edu gnu.emacs.help:211354 X-Mailman-Approved-At: Fri, 10 Apr 2015 13:34:07 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:103637 Archived-At: Hello, charset identification in rmail is done in rmail-get-coding-system. Regexp search fails when charset header is not in lowercase. I think case-fold-search should be set to nil before calling re-search-forward as it is done elsewhere in rmail.el: (let ((case-fold-search nil)) (if (re-search-forward rmail-mime-charset-pattern nil t) -- Pascal Quesseveur pquessev@gmail.com