Open dirk68-fu opened 1 month ago
After writing the above I realised: Perhaps this isn't a pagefind
problem after all. Something on the way to the server changes the encoding from the canonical form I use locally to something different and the index was created locally in my use case.
Because I am no expert on this topic, I wan't to leave this open for now, in case someone has some helpful hints how to fix this.
Ah hmm, no I think Pagefind should fix this. M%C3%BCsli.html
is indeed the correct urlencoding of Müsli.html
— Pagefind isn't doing this urlencoding though, which is a bug. Will fix
Hi,
consider the following two files:
index.html
Müsli.html
and run
pagefind --force-language de --serve --site .
the resulting page lists "Müsli" in the search results if appropriate but the URL contains the umlaut "ü" and does not work cross platform (it works locally though). The URL from the search results to the Müsli page ishttp://.../Müsli.html
instead ofhttp://.../M%C3%BCsli.html