Le (on) 28/10/2026, Tim Chase <[email protected]> a écrit (wrote):

| On 2026-10-28 18:27, daniel Azuelos wrote:
| > I have an old .muttrc which contains folder names encoded in utf-8,
| > some old one in decomposed format, and recent ones in the composed
| > format. ( I am a prehistoric user of mutt ).
| 
| Because they're different byte-sequences on disk, it's unlikely that
| mutt would normalize one to the other; and it could just as readily get
| it "wrong" for any given use-case, so it does The Right Thing(tm)

I discovered that the encoding of filenames changed when a recent
macOS upgrade switched from HFS+ filesystem to AFS filesystem.
The older one was using utf-8 decomposed format while the new one is using
utf-8 composed format.
Thus this problem is one caused by macOS internal change and neither
a problem caused by mutt or vi.

| Ideally you'd normalize the folder-names to one or the other (possibly
| using iconv) and not intermingle them.

How is vi able to display the 2 formats of coding utf-8 correctly without
any specific configuration?

Is there any configuration to make mutt read the 2 kinds of file name
encodings with utf-8 exactly as vi is able to display them?
Might this be a special mutt build option for macOS?
-- 
    « The only thing necessary for the triumph of evil
    is for good men to do nothing. »
                                                Edmund Burke
--------
daniel Azuelos

Reply via email to