Do someone know why my python 3 terminal does not show unicode properly ?
text= "בראשית ברא אלהים את השמים ואת הארץ".encode("UTF-8")
print (text)
but the output is :
b'\xd7\x91\xd7\xa8\xd7\x90\xd7\xa9\xd7\x99\xd7\xaa \xd7\x91\xd7\xa8\xd7\x90 \xd7\x90\xd7\x9c\xd7\x94\xd7\x99\xd7\x9d \xd7\x90\xd7\xaa \xd7\x94\xd7\xa9\xd7\x9e\xd7\x99\xd7\x9d \xd7\x95\xd7\x90\xd7\xaa \xd7\x94\xd7\x90\xd7\xa8\xd7\xa5'
How can to print it properly ?
or if i dont encode it :
text= "בראשית ברא אלהים את השמים ואת הארץ"
print (text)
this error comes out:
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode characters in position 0-5: character maps to