You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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.starlette/starlette/config.py
Lines 116 to 119 in 9450edf
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