support icon indicating copy to clipboard operation
support copied to clipboard

[Doc] Unicode Display Support Varies Between Hubs

Open BertLindeman opened this issue 6 months ago • 0 comments

Describe the issue According to the doc the chr() function is supported by all hubs. (That is correct) Not all hubs have full unicode support. As an example (from Damien George himself):

# degree = str(b'\xc2\xb0', 'utf8') # create from bytes
# degree = chr(176) # create from known unicode point
print("degree chr:", chr(176), "str:", str(b'\xc2\xb0', 'utf8') )

On a technichub shown as:

degree chr: � str: °

On a primehub:

degree chr: ° str: °

Suggested improvement How can we fix it or make it clearer? Maybe add a note:

Note: While chr() works on all hubs, 
characters above 128 may display as "unknown character" symbols
on hubs with limited unicode support.

That does not explain that there are other ways to produce unicode characters. But this is syntax doc, not a tutorial.

BertLindeman avatar Jul 10 '25 19:07 BertLindeman