Subject that ends with UTF-8, 85 or A0
Kevin J. McCarthy
kevin at 8t8.us
Tue Aug 2 19:58:37 UTC 2022
On Tue, Aug 02, 2022 at 03:52:51PM +0900, Kenichi Asai wrote:
>When the subject ends with a character whose last byte in
>UTF-8 is either 85 or A0, it appears the character collapses.
>To reproduce:
>
>- prepare .mutt/muttrc containing only the following line:
> set edit_headers=yes
>- launch mutt and type m to create a new mail.
>- enter some e-mail address and a subject.
>- vim launches.
>- edit Subject line so that it ends with a character such as:
> υ or % or e (whose last byte of their UTF-8 code is 85) or
> ム or 加 (whose last byte of their UTF-8 code is A0).
>- type :wq to quit vim.
>- the last character is converted to something else.
Hi Kenichi,
I'm having trouble duplicating this problem on Debian Testing. So I'll
need help debugging, from you or anyone else who can duplicate the
problem.
* After you finish the above steps, what happens if you edit the email
again in vim? Does the 加 show up at the end of the subject in vim the
second time?
* With your original steps, what does the email look like if you send
directly after returning from vim? Would you mind sending me an email
so I can take a look?
* Does the problem occur if you use a different editor?
* In the step:
"- enter some e-mail address and a subject."
if instead, you put a 加 at the end of the subject here, before running
vim, does 加 show up in vim? If you then don't modify the subject while
still in vim, does it show up in Mutt?
--
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.mutt.org/pipermail/mutt-users/attachments/20220802/5f29b4bf/attachment-0001.asc>
More information about the Mutt-users
mailing list