Re: [gentoo-user] Browser have problems with illegal characters

2020-11-26 Thread David Haller
Hello,

On Wed, 25 Nov 2020, Jack wrote:
[..]
>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 "Introduction to
>Metaprogramming in Nim  HookRace Blog" 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.

It is available, but it seems the locale is not used for encoding
filenames.

 man 7 latin1 
Oct   Dec   Hex   Char   Description
267   183   B7 ยท MIDDLE DOT


-dnh

-- 
>> This needs quotes:
>> use lib "/path/to/perl/modules";
> Single or double quotes?
Yes. -- Tad McClellan in comp.lang.perl.misc



Re: [gentoo-user] Browser have problems with illegal characters

2020-11-25 Thread Jack

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 "Introduction  
to Metaprogramming in Nim  HookRace Blog" 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.




Re: [gentoo-user] Browser have problems with illegal characters

2020-11-25 Thread Jack

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.


Jack



Re: [gentoo-user] Browser have problems with illegal characters

2020-11-25 Thread Andrew Udvare

On 25/11/2020 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


This may be your window manager.



OpenPGP_signature
Description: OpenPGP digital signature


Re: [gentoo-user] Browser have problems with illegal characters

2020-11-25 Thread Neil Bothwick
On Wed, 25 Nov 2020 13:24:13 +0100, Helmut Jarausch wrote:

> 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

I suspect this is a problem with the file dialog rather than the browser.
FWIW it worked fine with Chromium on KDE here.


-- 
Neil Bothwick

Linux like wigwam. No windows, no gates, Apache inside.


pgpUlC3XQdwAS.pgp
Description: OpenPGP digital signature


[gentoo-user] Browser have problems with illegal characters

2020-11-25 Thread Helmut Jarausch

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