[Top][All Lists]

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

Locale Dependent Downcasing in smtpmail

From: Volkan YAZICI
Subject: Locale Dependent Downcasing in smtpmail
Date: Wed, 28 Mar 2007 00:37:21 +0300
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux)


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.


reply via email to

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