Remix.run Logo
timonoko 6 hours ago

where does this character set come from? It looks different on xterm.

for x in range(0x0,0x20): print(chr(x),end=" ")

                    

voxelghost 6 hours ago | parent | next [-]

What are you trying to achieve, none of those characters are printable, and definetly not going to show up on the web.

    for x in range(0x0,0x20): print(f'({chr(x)})', end =' ')
    (0|) (1|) (2|) (3|) (4|) (5|) (6|) (7|) (8) (9| ) (10|
    ) (11|
          ) (12|
    ) (14|) (15|) (16|) (17|) (18|) (19|) (20|) (21|) (22|) (23|) (24|) (25|)    (26|␦) (27|8|) (29|) (30|) (31|)
timonoko 5 hours ago | parent [-]

Just asking why they have different icons in different environments? Maybe it is UTF-8 vs ISO-8859?

rbanffy 4 hours ago | parent | next [-]

They shouldn't show as visual representations, but some "ASCII" charts show the IBM PC character set instead of the ASCII set. IIRC, up to 0xFF UTF-8 and 8859 are very close with the exceptions being the UTF-8 escapes for the longer characters.

timonoko 5 hours ago | parent | prev [-]

Opera AI solved the problem:

If you want to use symbols for Mars and Venus for example,they are not in range(0,0x20). They are in Miscellanous Symbols block.

5 hours ago | parent [-]
[deleted]
timonoko 3 hours ago | parent | prev [-]

Ok this set does not even show on Android, just some boxes. Very strange.