[python] Python: convert string from UTF-8 to Latin-1