Skip to content

Commit 62903f5

Browse files
authored
Update label_studio/core/label_config.py
1 parent de9af8e commit 62903f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

label_studio/core/label_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def parse_config_to_json(config_string: Union[str, None]) -> Tuple[Union[Ordered
101101
raise etree.ParseError('xml is empty or incorrect')
102102
config = xmljson.badgerfish.data(xml)
103103
config = _fix_choices(config)
104-
return config, etree.tostring(xml)
104+
return config, etree.tostring(xml, encoding='unicode')
105105

106106

107107
def validate_label_config(config_string: Union[str, None]) -> None:

0 commit comments

Comments
 (0)