diff options
author | Louise Crow <louise.crow@gmail.com> | 2015-05-07 11:41:12 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2015-05-08 14:15:27 +0100 |
commit | 87f0630a216b8be1cf1e3905580892fe038b9965 (patch) | |
tree | d138839607e80f9fb0e985ca4cdec9ab0fe10b8b /lib/mail_handler/backends/mail_backend.rb | |
parent | 1b1a8aab7e7615627a62327e32fe617e90d3571d (diff) |
Force the encoding of values returned from YAML.
This is a workaround for an issue where YAML in ruby 1.8 tags UTF-8
heavy strings as binary, resulting in them being retrieved under 1.9
as ASCII-8BIT which can't be concatenated with UTF-8.
Described as "Deep deep YAML oddness" in
https://www.zendesk.com/blog/upgrade-the-road-to-1-9/.
Diffstat (limited to 'lib/mail_handler/backends/mail_backend.rb')
0 files changed, 0 insertions, 0 deletions