Well, that was interesting. It seems it’s a Safari thing? All the previews looked fine, as you found. When I used quicklook in Finder, everything looks okay. I go to the web, and I get a sharp stick in the eye!
So I went to the “View” menu in Safari, thinking I’d see “View Source,” or something. (That’s “Develop,” I guess.) But down there near the bottom is Text Encoding. Hmmmm… What does that do?
Mine was set for “Default.” That sounds reasonable, right? But just to see what happens, I selected Unicode (UTF-8), and voila! All is right with the world.
Thanks for checking, Mark. I looked at all my templates and my stylesheets and I didn’t see anything that looked like it might be problematic. For sentimental reasons, I use Trebuchet MS and it seemed to render accents okay in TextEdit.
So, it’s Safari. Why doesn’t that “just work?” (Rhetorical question.)
P.S. It’s weirder. Because of course it is.
So I downloaded your test file, everything looks fine - as it does in my TB file.
I export as HTML, as I always do. Everything looks fine in the quicklook view.
I hit “Open in Safari,” and… everything looks fine.
So I check the “View” menu, expecting to see Unicode (UTF-8) selected, but no, it’s “Default.” And it looks fine.
I thought, well perhaps that’s my new “default.” Maybe I switched it somehow long, long ago and it’s just been “wrong” for however long.
I went back to my page, and looked at View and saw Unicode (UTF-8) was still selected. Switched to Default, and got the sharp stick in the eye again!
For whatever it’s worth, here’s the offending page - http://nice-marmot.net/May_2018.html#note_335
It’s just another ill-tempered morning rant I don’t wish to inflict on you, but is there a clue in there what is going on? Do you see the sharp stick in the eye there?
PPS - the time stamp in the permalink is also different depending on whether view is set for Default or Unicode (UTF-8). Another clue?