# UnicodeDecodeError: 'cp950' codec can't decode on Python ###### tags: `Python` `UTF-8` ![](https://i.imgur.com/raZWcxz.png) ```python= fp = open('everlasting_regret.txt',"r",encoding="utf-8") s = fp.read() ``` Add ==encoding="utf-8"== in **open** function.