On 2020.11.25 13:08, Jack wrote:
On 2020.11.25 07:24, Helmut Jarausch wrote:
Hi,
if I try to save a web page containing an illegal character (like
hookrace.net/blog/introduction-to-metaprogramming-in-nim/)
several browser show an error (attached image) and cannot recover
from it. I have no chance to change the filename.
I have to 'xkill' it
What can I do about this?
(My locale is en_US.iso88591)
Many thanks for a hint,
Helmut
Both Firefox and Chromium (KDE) save for me with no complaints, and
"ls -b" calls that character 302 267, which shows up as a vertically
centered dot, but I haven't figured out exactly what character it
is. I have en_US.UTF-8.
Found it. It is "middle dot" U+00B7 which in UTF-8 two bytes of octal
302 267 or hex C2 8E.
Also, now that I look at the page source, I see "<title>Introduction
to Metaprogramming in Nim · HookRace Blog</title>" so I do
wonder if it is something funny with the character coding with
iso88591. In fact, it does look like that unicode point it NOT
available in iso88591. I wonder what the proper fall-back should be in
such a case.