Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Add a new example for unconvertible-to-UTF-8 text part data | Mark Longair | 2013-05-16 | -0/+30 |
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. |