tortoise / aerich

A database migrations tool for TortoiseORM, ready to production.
https://github.com/tortoise/aerich
Apache License 2.0
808 stars 91 forks source link

Encoding error when opening config file #235

Open hasbai opened 2 years ago

hasbai commented 2 years ago

The open() function in cli.py does not set the encoding, exception raised on windows if the config file is utf-8 encoded. Is it better to ensure the encoding as utf-8?