Jens Lechtenboerger <[email protected]> writes:
> On 2023-02-17, Ihor Radchenko wrote:
>
>> Jens Lechtenboerger <[email protected]> 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