mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-17 23:47:52 +02:00
Merge branch 'mkenum-build-fix' into 'main'
glib-mkenums: Specify output encoding as UTF-8 explicitly for non-English locale See merge request GNOME/glib!2857
This commit is contained in:
@@ -19,6 +19,9 @@ import errno
|
||||
import codecs
|
||||
import locale
|
||||
|
||||
# Non-english locale systems might complain to unrecognized character
|
||||
sys.stdout = io.TextIOWrapper(sys.stdout.detach(), encoding='utf-8')
|
||||
|
||||
VERSION_STR = '''glib-mkenums version @VERSION@
|
||||
glib-mkenums comes with ABSOLUTELY NO WARRANTY.
|
||||
You may redistribute copies of glib-mkenums under the terms of
|
||||
|
Reference in New Issue
Block a user