Encode gettext value to match with string value

issue3587
review2991002
(transplanted from 80a479e15e31f5a97eaf26ddbd3f9a89303c595e)

--HG--
extra : transplant_source : %80%A4y%E1%5E1%F5%A9%7E%AF%26%DD%BD%3F%9A%890%3CY%5E