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

Issue 1424933018: Allow higher unicode characters in XMB files. (Closed)

Created:
5 years, 1 month ago by newt (away)
Modified:
5 years, 1 month ago
Reviewers:
Nico
CC:
grit-developer_googlegroups.com
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Allow higher unicode characters in XMB files. The XMB tool has a regex of invalid XML characters, which erroneously contained all unicode characters in the supplementary planes (U+10000 to U+10FFFF). The tool would silently replace these characters with spaces when generating XMB files, which caused problems recently when an emoji character was added to a grd file. The translation console supports these characters, so GRIT should too. The XMB tool now supports these characters, and now raises an exception if an invalid character is used (instead of silently replacing it with a space). BUG=554070

Patch Set 1 #

Patch Set 2 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -5 lines) Patch
M grit/tool/xmb.py View 2 chunks +8 lines, -2 lines 1 comment Download
M grit/tool/xmb_unittest.py View 1 1 chunk +8 lines, -3 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
newt (away)
PTAL
5 years, 1 month ago (2015-11-10 17:21:14 UTC) #3
newt (away)
https://codereview.chromium.org/1424933018/diff/20001/grit/tool/xmb.py File grit/tool/xmb.py (right): https://codereview.chromium.org/1424933018/diff/20001/grit/tool/xmb.py#newcode46 grit/tool/xmb.py:46: if illegal_chars: All of Chrome's grd files pass this ...
5 years, 1 month ago (2015-11-10 17:22:52 UTC) #4
newt (away)
friendly ping?
5 years, 1 month ago (2015-11-12 20:22:29 UTC) #5
Nico
(grit stuff in my mind is blocked on https://code.google.com/p/chromium/issues/detail?id=553682 which is taking a bit longer ...
5 years, 1 month ago (2015-11-12 20:25:12 UTC) #6
newt (away)
Ah, the move to src is happening right now -- Exciting! I'll wait until that's ...
5 years, 1 month ago (2015-11-12 22:21:26 UTC) #7
Nico
On 2015/11/12 22:21:26, newt wrote: > Ah, the move to src is happening right now ...
5 years, 1 month ago (2015-11-13 01:29:00 UTC) #8
newt (away)
5 years, 1 month ago (2015-11-13 02:32:58 UTC) #9

Powered by Google App Engine
This is Rietveld 408576698