UTF-8 encode and decode: Difference between revisions

→‎{{header|Python}}: Uses "name" directly.
(Add python3 solution)
(→‎{{header|Python}}: Uses "name" directly.)
Line 473:
<lang python>
#!/usr/bin/env python3
importfrom unicodedata import name
 
 
def name(ch):
return unicodedata.name(ch)
 
 
Line 499 ⟶ 495:
Ж CYRILLIC CAPITAL LETTER ZHE U+0416 D0 96
€ EURO SIGN U+20ac E2 82 AC
𝄞 MUSICAL SYMBOL G CLEF U+1d11e F0 9D 84 9E</pre>
 
=={{header|Racket}}==
Anonymous user