![Reading Text Files with Python. Try different encoding to successfully… | by Yancy Dennis | Python in Plain English Reading Text Files with Python. Try different encoding to successfully… | by Yancy Dennis | Python in Plain English](https://miro.medium.com/v2/resize:fit:650/1*IQe0Jc0wtUv7HLd8Nvr-uw.png)
Reading Text Files with Python. Try different encoding to successfully… | by Yancy Dennis | Python in Plain English
![Can I modify the encoding of the hardcoded charset file by modify ENCODING_PATTERN of pycharm-openapi-src/PythonFileType – IDEs Support (IntelliJ Platform) | JetBrains Can I modify the encoding of the hardcoded charset file by modify ENCODING_PATTERN of pycharm-openapi-src/PythonFileType – IDEs Support (IntelliJ Platform) | JetBrains](https://intellij-support.jetbrains.com/hc/user_images/zGCNy0ERNTI9o7T8ySkzFA.png)
Can I modify the encoding of the hardcoded charset file by modify ENCODING_PATTERN of pycharm-openapi-src/PythonFileType – IDEs Support (IntelliJ Platform) | JetBrains
![IDLE can not open the .py file and it hints that "The file's encoding is invalid for Python 3.x." - Stack Overflow IDLE can not open the .py file and it hints that "The file's encoding is invalid for Python 3.x." - Stack Overflow](https://i.stack.imgur.com/kbqku.png)