pycharm change encoding 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.