About UTF character codes
In the ex9.py, because the colleague is studying the ESPAOL, then installed, changed the week and the month to Spanish. The results are not displayed, and then the #-*-Coding:utf-8-*-conversion is added, and the display can be run, but the é shows garbled characters. Change to utf-16 or 32.
Code:
#-*-Coding:utf-8-*-
#here ' s Some new strange stuff, remember type it exactly.
Days = "Lunes martes miércoles jueves viernes Sábado Domingo"
months = "\nenero\nfebrero\nmarzo\nabril\nmayo\njunio\njulio\nagosto\nseptiembre\noctubre\nnoviembre\ndiciembre"
Print "Here is the days:"
Print "Here is the months:", months
Print "" "
There ' s something going on here.
With the three double-quotes.
We are able to type as much as we do.
Even 4 lines if we want,or 5, or 6.
"""
So, for Latin characters, such as e such English is not how normal display it?
Or add a%r conversion line?
Try it next time.
About UTF character codes