add file encoding to all file in a pycharm project code example
Example: encoding='UTF-8' pycharm
Settings in pycharm -> search for 'File Encodings'
Change 'Project Encoding' to UTF-8 in the dropdown menu.
Settings in pycharm -> search for 'File Encodings'
Change 'Project Encoding' to UTF-8 in the dropdown menu.