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
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 �.
@koxudaxi
Absolutely no problem! In my opinion either way would be fine, so go with it as you like, I'd just make sure to properly mention the behaviour of the default encoding in the readme file.
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:
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.The text was updated successfully, but these errors were encountered: