From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: [yazicivo@ttnet.net.tr: Locale Dependent Downcasing in smtpmail] Date: Sat, 31 Mar 2007 16:43:23 -0400 Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1175374227 477 80.91.229.12 (31 Mar 2007 20:50:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 31 Mar 2007 20:50:27 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 31 22:50:21 2007 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 1HXkWi-0002qC-7S for ged-emacs-devel@m.gmane.org; Sat, 31 Mar 2007 22:50:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HXkZY-0007bH-84 for ged-emacs-devel@m.gmane.org; Sat, 31 Mar 2007 15:53:16 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HXkV0-0004ig-6w for emacs-devel@gnu.org; Sat, 31 Mar 2007 16:48:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HXkUz-0004iL-MD for emacs-devel@gnu.org; Sat, 31 Mar 2007 16:48:33 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HXkUz-0004iG-Eq for emacs-devel@gnu.org; Sat, 31 Mar 2007 15:48:33 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HXkS8-0008UG-OL for emacs-devel@gnu.org; Sat, 31 Mar 2007 16:45:36 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1HXkPz-0003le-KI; Sat, 31 Mar 2007 16:43:23 -0400 X-detected-kernel: 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:68859 Archived-At: Would people please DTRT, then ack? ------- Start of forwarded message ------- X-Spam-Status: No, score=2.8 required=5.0 tests=DNS_FROM_RFC_ABUSE, DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS,SPF_PASS,UNPARSEABLE_RELAY autolearn=no version=3.1.0 From: Volkan YAZICI To: bug-gnu-emacs@gnu.org Date: Wed, 28 Mar 2007 00:37:21 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Subject: Locale Dependent Downcasing in smtpmail Hi, smtpmail tries to downcase the strings using DOWNCASE function during the SMTP communication. But this leads to some problems in some locales. I spotted that problem when I tried to launch emacs with LC_CTYPE=tr_TR locale. In Turkish, downcased I is a dotless i. Therefore, while it tries to downcase some AUTH mechanisms (in smtpmail-via-smtp function), PLAIN and LOGIN turns into pla?n and log?n. And this causes (smtpmail-intersection smtpmail-auth-supported mechs) to return nil in smtpmail-try-auth-methods function. IMHO, smtpmail-via-smtp function should switch to ASCII locale (if that's possible) before calling DOWNCASE. Regards. _______________________________________________ bug-gnu-emacs mailing list bug-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs ------- End of forwarded message -------