all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Locale Dependent Downcasing in smtpmail
@ 2007-03-27 21:37 Volkan YAZICI
  0 siblings, 0 replies; only message in thread
From: Volkan YAZICI @ 2007-03-27 21:37 UTC (permalink / raw)
  To: bug-gnu-emacs

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-03-27 21:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-27 21:37 Locale Dependent Downcasing in smtpmail Volkan YAZICI

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.