Index: remoting/tools/build/remoting_localize.py |
diff --git a/remoting/tools/build/remoting_localize.py b/remoting/tools/build/remoting_localize.py |
index 6a88884f29292f5e829aec9dd8b083d679237c88..5c4eeb12f6c50c66468865adcdb878d14241c89e 100755 |
--- a/remoting/tools/build/remoting_localize.py |
+++ b/remoting/tools/build/remoting_localize.py |
@@ -590,7 +590,7 @@ def ReadMessagesFromFile(file_name): |
return values |
-def WriteIfChanged(file_name, contents, encoding='utf-16'): |
+def WriteIfChanged(file_name, contents, encoding): |
""" |
Writes the specified contents to the specified file_name |
iff the contents are different than the current contents. |
@@ -743,8 +743,8 @@ def DoMain(argv): |
'-d', '--define', dest='define', action='append', type='string', |
help='define a variable (NAME=VALUE).') |
parser.add_option( |
- '--encoding', dest='encoding', type='string', default='utf-16', |
- help="set the encoding of <output>. 'utf-16' is the default.") |
+ '--encoding', dest='encoding', type='string', default='utf-8', |
+ help="set the encoding of <output>. 'utf-8' is the default.") |
parser.add_option( |
'--jinja2', dest='jinja2', type='string', |
help="specifies path to the jinja2 library.") |