Jun-18-2020, 02:48 PM
Hi,I am looking amongst the zillions of unicode chars and I can print them like this.
(I understand that in python 3 the leading "u" is not necessary any more.)
and i can select chars from tables,
just like the dingbats table i found somewhere.
Only, the many tables on the unicode.org site, seem to code the chars differently.
like so => "1C00" -> this is the first letter in the "Lepcha" language.
When i print(u'\u1C00'), it prints something else.
What is going wrong ?
Paul
(I understand that in python 3 the leading "u" is not necessary any more.)
# chess chess = [u'\u2654', u'\u2655',u'\u2656',u'\u2657',u'\u2658',u'\u2659'] for x in chess: print('chess:',x) #from the dingbats char table scissors = [u'\u2700'] print(scissors)Now i turn to the www.unicode.org (new website !),
and i can select chars from tables,
just like the dingbats table i found somewhere.
Only, the many tables on the unicode.org site, seem to code the chars differently.
like so => "1C00" -> this is the first letter in the "Lepcha" language.
When i print(u'\u1C00'), it prints something else.
What is going wrong ?
Paul
It is more important to do the right thing, than to do the thing right.(P.Drucker)
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.