Describe the bug
In the usage section it is stated that the default encoding is utf-8. However the comand line paramater has to be set explicitly in order to properly transform the code. Otherwise some characters are displayed as οΏ½.
Used commandline:
$ datamodel-codegen --input api.yaml --output model.py
Expected behavior
The correct transformation of umlauts (among others)
Version:
Additional context
datamodel-codegen --encoding utf-8 --input api.yaml --output model.py
did work fine.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too