On 2024-03-23 13:51:35, Stuart Henderson wrote: > On 2024-03-23, Sadeep Madurange <[email protected]> wrote: > > I see a bunch of question marks instead of spaces (0x20 in ASCII) in > > some emails when viewed in mutt. This happens with emails that > > contains patches, output of commands like ifconfig (content with > > indented blocks). > > > > Output of locale: > > > > LANG= > > LC_COLLATE="C" > > LC_CTYPE="C" > > LC_MONETARY="C" > > LC_NUMERIC="C" > > LC_TIME="C" > > LC_MESSAGES="C" > > LC_ALL= > > > > Output of locale charmap: US-ASCII > > > > I'm using Xterm with DejaVu Sans Mono font. I have set XTerm*utf-8 > > to true in Xdefaults. I also tried setting LC_CTYPE=en_US.UTF-8, > > which changed the ? in mutt to ?. I'm not sure if this is an issue > > with my mutt config or some setting in OpenBSD/Xterm. Appreciate > > ideas for a fix. > > Probably something to do with charset settings in .muttrc. > > FWIW I have "set charset=utf-8" in .muttrc and "export > LC_CTYPE=en_US.UTF-8" in .xsession and no issues.
I had the charset config in muttrc. The problem was I had set LC_CTYPE=en_US.UTF-8 in my .kshrc file instead of .xsession. Thanks for sharing your config, that fixed it. -- Sadeep Madurange PGP: 103BF9E3E750BF7E

