aboutsummaryrefslogtreecommitdiffstats
path: root/spec/lib/basic_encoding_tests.rb
diff options
context:
space:
mode:
authorMark Longair <mhl@pobox.com>2013-05-13 16:00:04 +0100
committerMark Longair <mhl@pobox.com>2013-05-16 09:06:27 +0100
commit004e683db2cc3abe51225d071db993f81f3a6742 (patch)
treec4e594c25baa749fbba39e409315bd36df1188e6 /spec/lib/basic_encoding_tests.rb
parent9a5ef164ba29a8f56b3e2f42edf83d732613738f (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