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
I "guess" this might be something related to encoding or the lib yaml. But could you please share the config you're using in text for us to try to reproduce? Thanks!
Triage from #1964: Confirmed still valid on master (4.15.1). commitizen/config/yaml_config.py (line 69) calls yaml.dump(config_doc, yaml_file, explicit_start=True) without allow_unicode=True, so PyYAML escapes non-ASCII characters into \Uxxxx. Two-line fix; tagging as good first issue material.
Activity
Lee-W commentedon Aug 11, 2024
I "guess" this might be something related to encoding or the lib yaml. But could you please share the config you're using in text for us to try to reproduce? Thanks!
bearomorphism commentedon May 9, 2026
Triage from #1964: Confirmed still valid on master (4.15.1).
commitizen/config/yaml_config.py(line 69) callsyaml.dump(config_doc, yaml_file, explicit_start=True)withoutallow_unicode=True, so PyYAML escapes non-ASCII characters into\Uxxxx. Two-line fix; tagging asgood first issuematerial.bearomorphism commentedon May 9, 2026
Verification update (re #1964)
Reproduced against current master (4.15.1):
.cz.yamlbefore bump:After
cz bump --increment PATCH --yes:The emoji
🚀is escaped to\U0001F680.Verdict: STILL VALID. Two-line fix in
commitizen/config/yaml_config.py:69:Same change should be applied at
commitizen/config/yaml_config.py:33(init_empty_config_content) for consistency.Suitable as a
good first issue.fix(config): preserve unicode characters when writing yaml config
fix(config): preserve unicode characters when writing yaml config