Character Encoding - Chtag

I recently installed IBM Z Open Automation Utilities and Python on z/OS and learned a new command I haven’t or needed to use before.
The chtag command for character encoding for EBCDIC.
After editing some Helloworld.py file using vi editor I recevied the follow error when I try to run the python code.
/home/#>python hello.py
SyntaxError: Non-UTF-8 code starting with '\x97' I needed to change the codeset to IBM-1047 for python to run correctly on USS z/OS.




