[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unicode problem with export of literal contents
From: |
Bruno Barbier |
Subject: |
Re: Unicode problem with export of literal contents |
Date: |
Fri, 17 Feb 2023 18:23:25 +0100 |
Jens Lechtenboerger <lechten@wi.uni-muenster.de> writes:
> On 2023-02-17, Ihor Radchenko wrote:
>
>> Jens Lechtenboerger <lechten@wi.uni-muenster.de> writes:
>>
>
>> Not a bug. You need to fix your files with improper encoding.
>
> The file has the proper encoding. I insert literally on purpose as
> stated above.
IIUC, the file has the proper encoding. But, when loading it with
`insert-file-contents-literally', it doesn't: that's part of the
"literally" feature I guess.
When loading it with `insert-file-contents', it should work (it does in
my case).
Here is a way to reproduce that doesn't use org, in case it might help
to manully fix your encoding issue:
(with-temp-buffer
(insert "Lechtenb\303\266rger")
(let ((buffer-file-name (make-temp-file "mailtest")))
(save-buffer)))
Does it work with your old config (with your old org) ?
What kind of failure do you get elsewhere if you let Emacs use the
correct encoding (i.e. if you use `insert-file-contents') ?
Bruno
- Unicode problem with export of literal contents, Jens Lechtenboerger, 2023/02/16
- Re: Unicode problem with export of literal contents, Bruno Barbier, 2023/02/17
- Re: Unicode problem with export of literal contents, Ihor Radchenko, 2023/02/17
- Re: Unicode problem with export of literal contents, Jens Lechtenboerger, 2023/02/17
- Re: Unicode problem with export of literal contents,
Bruno Barbier <=
- Re: Unicode problem with export of literal contents, Jens Lechtenboerger, 2023/02/20
- Re: Unicode problem with export of literal contents, Bruno Barbier, 2023/02/20
- Re: Unicode problem with export of literal contents, Jens Lechtenboerger, 2023/02/20
- Re: Unicode problem with export of literal contents, Bruno Barbier, 2023/02/20
- Re: Unicode problem with export of literal contents, Jens Lechtenboerger, 2023/02/21
- Re: Unicode problem with export of literal contents, Ihor Radchenko, 2023/02/17
- Re: Unicode problem with export of literal contents, Jens Lechtenboerger, 2023/02/20