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: Stefan Monnier
Subject: Re: smtpmail support of unicode passwords
Date: Sun, 13 Apr 2014 21:18:51 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

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

Indeed, it's pretty much never correct.

> please try
>   (encode-coding-string (concat "\0" user "\0" password) 'utf-8)
> instead.

I think locale-coding-system would make more sense.


        Stefan



reply via email to

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