[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: downcase'ing wrt locale in smtpmail.el
From: |
Reiner Steib |
Subject: |
Re: downcase'ing wrt locale in smtpmail.el |
Date: |
Sat, 12 Jan 2008 13:48:42 +0100 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) |
On Sat, Jan 12 2008, Simon Josefsson wrote:
> address@hidden writes:
[...]
>> In smtpmail.el, protocol messages are getting downcased with respect
>> to current locale. For instance, it downcases AUTH methods (LOGIN,
>> PLAIN, etc.) and then compares them with the related downcased symbols
>> '(login plain ...). And in Turkish, a downcased I is ı (dotless i),
>> not i. Therefore, comparison fails because of logın != login or plaın
>> != plain. IMHO, downcased must be applied using en_US locale.
[...]
> I just noticed this report. Is there a function in elisp that does
> downcase in the C locale? For this use, we only care about ASCII, so a
> 'tr A-Z a-z' would work. Do smtpmail.el have to implement a
> 'downcase-ascii' function itself?
Chong Yidong has fixed some similar issues in smtpmail.el using
with-case-table / ascii-case-table, see
http://thread.gmane.org/gmane.emacs.gnus.general/64489/focus=64496
See <http://thread.gmane.org/gmane.emacs.devel/68859> for the quite
long discussion about this problem (Subject: ... Locale Dependent
Downcasing in smtpmail). Oh, know I notice that
<address@hidden> reported this problem, so I'd guess it has
been fixed by Chong Yidong's change.
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/