I am having trouble with nordic characters (å, ä and ö) not rendering correctly in Emacs. In text files, they render correctly, but in dired and other non-file buffers (like counsel-find-file) they instead render as o¨ instead of ö, etc. See the picture below.
I have the following settings related to character encoding in my init.el file:
(prefer-coding-system 'utf-8) (set-default-coding-systems 'utf-8) (set-terminal-coding-system 'utf-8) (set-keyboard-coding-system 'utf-8) My LANG is set to en_US.UTF-8 and LC_ALL is en_IE.UTF-8 in my .zshrc.
System information
- OS: macOS Sonoma 14.2
- Emacs version: 29.1 (railwaycat's Emacs Mac Port)
What I've tried
- Changing
LC_ALLtosv_SE.UTF-8 - The official GNU Emacs for macOS & d12frosted's Emacs Plus
Update
As per @NickD's comment, here is the help information for the o character in the file name:
position: 898 of 983 (91%), column: 3 character: o (displayed as o) (codepoint 111, #o157, #x6f) charset: ascii (ASCII (ISO646 IRV)) code point in charset: 0x6F script: latin syntax: w which means: word category: .:Base, L:Strong L2R, a:ASCII, l:Latin, r:Roman to input: type "C-x 8 RET 6f" or "C-x 8 RET LATIN SMALL LETTER O" buffer code: #x6F file code: #x6F (encoded by coding system utf-8) display: by this font (glyph code): mac-ct:-*-Ubuntu Mono-medium-normal-normal-*-20-*-*-*-m-0-iso10646-1 (#x52) And here is the ö character inside a file:
position: 101 of 13753 (1%), column: 0 character: ö (displayed as ö) (codepoint 246, #o366, #xf6) charset: unicode (Unicode (ISO10646)) code point in charset: 0xF6 script: latin syntax: w which means: word category: .:Base, L:Strong L2R, j:Japanese, l:Latin to input: type "C-x 8 RET f6" or "C-x 8 RET LATIN SMALL LETTER O WITH DIAERESIS" buffer code: #xC3 #xB6 file code: #xC3 #xB6 (encoded by coding system utf-8-unix) display: by this font (glyph code): mac-ct:-*-Ubuntu Mono-medium-normal-normal-*-20-*-*-*-m-0-iso10646-1 (#xD1) 
oofsökmotorer(the first one, the one that's supposed to have the umlaut). DoC-u C-x =(orM-x describe-char) and edit your question to add the resulting*Help*screen. I suspect it's a font problem: have you tried a different font?ö, place the cursor there and sayC-u C-x =. Add it it to your question, so we can check for differences.