emacs-devel
[Top][All Lists]
Advanced

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

Re: smtpmail support of unicode passwords


From: Eli Zaretskii
Subject: Re: smtpmail support of unicode passwords
Date: Sun, 13 Apr 2014 22:11:23 +0300

> From: "Garreau\, Alexandre" <address@hidden>
> Date: Sun, 13 Apr 2014 20:27:49 +0200
> 
> Hello, smtpmail fails to send mails when the SMTP user password contain
> utf8 chars, since it seems base64-encode-string doesn’t support
> multibyte encoding, it prevented me to start using Gnus for some months
> before I understood what was happening.
> 
> Here’s attached the patch.

I don't think string-as-unibyte is correct here, please try

  (encode-coding-string (concat "\0" user "\0" password) 'utf-8)

instead.




reply via email to

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