Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(540)

Unified Diff: tools/grit/grit/tool/build.py

Issue 4164006: Generate example JSON policy configuration files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/grit/grit/node/misc.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/grit/grit/tool/build.py
diff --git a/tools/grit/grit/tool/build.py b/tools/grit/grit/tool/build.py
index c750705e2252c33bc09edd6192ddae3dae8b66f6..4b7ddd9d6b9a6d88c3e566c0978549b3d59e7429 100644
--- a/tools/grit/grit/tool/build.py
+++ b/tools/grit/grit/tool/build.py
@@ -182,7 +182,7 @@ are exported to translation interchange files (e.g. XMB files), etc.
'resource_map_source', 'resource_file_map_source'):
encoding = 'cp1252'
elif output.GetType() in ('js_map_format', 'plist', 'plist_strings',
- 'doc'):
+ 'doc', 'json'):
encoding = 'utf_8'
else:
# TODO(gfeher) modify here to set utf-8 encoding for admx/adml
« no previous file with comments | « tools/grit/grit/node/misc.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698