-
Notifications
You must be signed in to change notification settings - Fork 33
Enable UTF-8 mode for python (PEP 686) #92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
🤔 很奇怪,我现在 Chrome 里打开已经部署在 zeabur 的版本似乎没有发现这个问题,在 mac 上运行启动命令时好像也没有见 |
See if it fixes the problem. Could be that Windows is using GBK (or something else) as the default encoding. |
参考语言区域编码格式,不同系统会有不一样的行为。 我是 Windows 上运行的,没改过 IDE 或编码,通过 scoop 下载的 python。 |
Description
After
pdm dev
,UnicodeDecodeError
(gbk: illegal multibyte sequence) caused by string——
the string is in
Python-Type-Challenges/challenges/intermediate-self/hints.md
Also, the emoji cannot load successfully

Solution
Python UTF-8 mode
The text was updated successfully, but these errors were encountered: