aboutsummaryrefslogtreecommitdiffstats
path: root/tests/parser/wordEncoderTest.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fixes/comments for guessBestEncoding (#304)Jan Engelhardt2024-05-211-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
* Code style and clarity.Vincent Richard2018-09-051-43/+88
|
* Added support for language specification in RFC-2047 encoded words and ↵Vincent Richard2014-06-301-5/+12
| | | | RFC-2231 parameter values.
* Refactored unit tests.Vincent Richard2013-03-081-5/+1
|
* Unit tests for wordEncoder.Vincent Richard2013-02-251-0/+126