• Chun-wei Fan's avatar
    win32/replace.py: Fix replacing items in files with UTF-8 content · e422e84d
    Chun-wei Fan authored
    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
    e422e84d
Name
Last commit
Last update
..
vs10 Loading commit data...
vs11 Loading commit data...
vs12 Loading commit data...
vs14 Loading commit data...
vs15 Loading commit data...
vs9 Loading commit data...
Makefile-newvs.am Loading commit data...
Makefile.am Loading commit data...
Makefile.msvc-introspection Loading commit data...
Makefile.msvcproj Loading commit data...
detectenv-msvc.mak Loading commit data...
introspection-msvc.mak Loading commit data...
pango-introspection-msvc.mak Loading commit data...
pangopc.py Loading commit data...
pc_base.py Loading commit data...
replace.py Loading commit data...
unistd.h Loading commit data...