Skip to content

Commit 242056b

Browse files
feat(unicode): add unicode support
This will allow commiting, e.g., emoji's and parsing commit messages for unicode characters when creating change logs.
1 parent dbc715d commit 242056b

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

commitizen/defaults.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ class Settings(TypedDict, total=False):
7070
"major_version_zero": False,
7171
"encoding": "utf-8",
7272
"major_version_zero": False,
73+
"encoding": "utf-8",
7374
}
7475

7576
MAJOR = "MAJOR"

tests/test_conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
"major_version_zero": False,
5353
"encoding": "utf-8",
5454
"major_version_zero": False,
55+
"encoding": "utf-8",
5556
}
5657

5758
_new_settings = {
@@ -71,6 +72,7 @@
7172
"major_version_zero": False,
7273
"encoding": "utf-8",
7374
"major_version_zero": False,
75+
"encoding": "utf-8",
7476
}
7577

7678
_read_settings = {

0 commit comments

Comments
 (0)