Replies: 2 comments 2 replies
-
This should be a bug |
Beta Was this translation helpful? Give feedback.
2 replies
-
Fix PR: #2992 👍 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My OS is windows, and its encoding is GBK. when I use startlette's config module to read a file
.env
whose encoding is utf-8,it says,.
and i found the following code,
with open(file_name) as input_file
,without a encoding.https://github.com/encode/starlette/blob/9450edf28208ba139c2162b38e6ea40eb04bc90b/starlette/config.py#L116-L119
so what can i do to solve the problem that use my gbk windows to read a utf-8 env file?
Beta Was this translation helpful? Give feedback.
All reactions