diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2017-05-09 18:17:29 -0700 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2017-05-09 18:34:03 -0700 |
commit | e422e84d0ed41bb581037dadd679caa28490d5bb (patch) | |
tree | 98264b93b331e619e60e3f7c484f20dad1bce3ac /pango | |
parent | 906509e22bf617d97a71f41d335d7a0dec344187 (diff) | |
download | pango-e422e84d0ed41bb581037dadd679caa28490d5bb.tar.gz |
win32/replace.py: Fix replacing items in files with UTF-8 content
Some files that this script will process might have UTF-8 items in
there, which can cause problems on Python 3.x as it is more strict and
careful on unicode issues. Fix this by:
-Doing what we did before on Python 2.x
-Opening the file with encoding='utf-8' on Python 3.x
Diffstat (limited to 'pango')
0 files changed, 0 insertions, 0 deletions