How to Open and Run Python Files with UTF-8 Encoding in Jupyter Notebook?

16 Replies, 1421 Views

Hmm, I’ve had this issue too. For jupyter-notebook open python with utf-8, I found that restarting the kernel sometimes helps. Also, make sure your terminal or system locale supports UTF-8.

On Linux, you can check with:
`locale`
If it’s not set to UTF-8, you might need to tweak your environment variables.

Messages In This Thread



Users browsing this thread: 1 Guest(s)