[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: downcase'ing wrt locale in smtpmail.el

From: Simon Josefsson
Subject: Re: downcase'ing wrt locale in smtpmail.el
Date: Sat, 12 Jan 2008 11:39:54 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux)

address@hidden writes:

> Hi,
> 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.
> To reproduce the problem, start emacs with LC_CTYPE=tr_TR prefix and
> try to send a mail via smtpmail package.

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?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]