diff options
author | Mark Longair <mhl@pobox.com> | 2013-05-13 16:00:04 +0100 |
---|---|---|
committer | Mark Longair <mhl@pobox.com> | 2013-05-16 09:06:27 +0100 |
commit | 004e683db2cc3abe51225d071db993f81f3a6742 (patch) | |
tree | c4e594c25baa749fbba39e409315bd36df1188e6 /spec/lib/basic_encoding_tests.rb | |
parent | 9a5ef164ba29a8f56b3e2f42edf83d732613738f (diff) |
Add a new example for unconvertible-to-UTF-8 text part data
The example file that was used for checking for text
attachment data which could not be converted to UTF-8 is
one that we *can* actually deal with by guessing the
character set, since it's valid GB18030. So, this commit
changes that test to check for the first few Chinese
characters in that email, and introduces a replacement
test with text from /dev/random, which should not be
interpretable in any sensible way.
Diffstat (limited to 'spec/lib/basic_encoding_tests.rb')
0 files changed, 0 insertions, 0 deletions