aboutsummaryrefslogtreecommitdiffstats
path: root/tests/parser/wordEncoderTest.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-05-21Fixes/comments for guessBestEncoding (#304)Jan Engelhardt1-0/+9
* tests: add case for getRecommendedEncoding * vmime: avoid integer multiply wraparound in wordEncoder::guessBestEncoding If the input string is 42949673 characters long or larger, there will be integer overflow on 32-bit platforms when multiplying by 100. Switch that one computation to floating point. * vmime: update comment in wordEncoder::guessBestEncoding
2018-09-05Code style and clarity.Vincent Richard1-43/+88
2014-06-30Added support for language specification in RFC-2047 encoded words and ↵Vincent Richard1-5/+12
RFC-2231 parameter values.
2013-03-08Refactored unit tests.Vincent Richard1-5/+1
2013-02-25Unit tests for wordEncoder.Vincent Richard1-0/+126