I use python to convert Russian character to int style. I know the Russian character int value is less than 256. but I get the value above 1000. how to get correct value? My projcet encoding is ISO-8859-5. code:
#!/usr/bin/python
# -*- coding: iso-8859-5 -*-
rus_str = "бвгдеёжзийя"
for i in rus_str:
print(ord(i))
Result:
1073
1074
1075
1076
1077
1105
1078
1079
1080
1081
1103