[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [VM] vm-url-decode-buffer and UTF-8
From: |
Uday Reddy |
Subject: |
Re: [VM] vm-url-decode-buffer and UTF-8 |
Date: |
Tue, 15 Nov 2016 22:18:40 +0000 |
Hi Göran, is this now taken care of by the bug fix you have filed on
Launchpad?
Cheers,
Uday
Göran Uddeborg writes:
> I'm occasionally calling
>
> emacsclient ... vm-mail-to-mailto-url ...
>
> from scripts. It works fine for simple mailto:address@hidden URL:s. But
> if the URL also includes some non-ASCII, e.g. in a subject= argument,
> then this string gets mangled. More exactly, the UTF-8 encoded
> character in the string gets treated as multiple single characters.
>
> If I understand things correctly, this boils down to
> vm-url-decode-buffer doing the decoding in that way. It looks for one
> %XX escape, and does insert-char on the decoded value. That makes a
> UTF-8 sequence consisting of more than one byte become several
> characters.
>
> Has anyone else been hit by this or something similar? And, in
> particular, has anyone any idea how to fix the problem?
>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [VM] vm-url-decode-buffer and UTF-8,
Uday Reddy <=