skeeto / elfeed

An Emacs web feeds client
The Unlicense
1.52k stars 120 forks source link

Umlauts are not properly rendered in elfeed buffer #484

Open jhartotr opened 1 year ago

jhartotr commented 1 year ago

M-x elfeed RET shows the following

image

Why are umlauts not properly rendered?

C-u C-x = on a properly rendered character shows:

image

C-u C-x = on a wrongly rendered character shows (e.g. \303) shows:

image

Only elfeed is unable to display the umlauts properly. Gnus, eww, circe, and other emacs packages show the umlauts properly on my system.

I'm using

GNU Emacs 29.0.60 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.34, cairo version 1.16.0) of 2023-04-06

and

elfeed-version is 3.4.1

butter-radish commented 1 year ago

Those are CSS escapes in the feed titles, right?

Elfeed treats all feed titles as literal strings at the moment, because processing them as HTML is complicated (see #365; RSS feed titles are always supposed to be literal, though, so if this is an RSS and not an Atom feed then it's an incorrectly formatted one)

There are patches that strip away or replace HTML tags in the titles, though (see #452). I suppose you could fashion a similar hack for fixing your umlauts for you, if there are only a few different (escapes for) umlaut characters.