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
Hi, there's known problem on Windows with parsing dotenv files - pypa/pipenv#1963. python-dotenv would parse files with default encoding (cp1251 for Cyrillic Windows). As a result we get Лист 1 instead of Лист 1.
It looks like this function need to fetch encoding from Config class somehow.
Feature Request
Output of
import pydantic.utils; print(pydantic.utils.version_info())
:Description
Hi, there's known problem on Windows with parsing dotenv files - pypa/pipenv#1963.
python-dotenv
would parse files with default encoding (cp1251 for Cyrillic Windows). As a result we getЛист 1
instead ofЛист 1
.It looks like this function need to fetch encoding from
Config
class somehow.Example
.env
file (UTF-8):Code snippet:
The text was updated successfully, but these errors were encountered: