pocoproject / poco

The POCO C++ Libraries are powerful cross-platform C++ libraries for building network- and internet-based applications that run on desktop, server, mobile, IoT, and embedded systems.
https://pocoproject.org
Other
8.05k stars 2.11k forks source link

decodeWord adds spaces at folding borders, when there are special characters encoded #4535

Closed EdEgberts closed 2 months ago

EdEgberts commented 2 months ago

MessageHeader::decodeWord() adds spaces at folding borders, when there are special characters encoded. The attached file "decodeWord_Example.txt" contains the decodeWord-Code with an example string to show this behaviour and a patch, to prevent it (please look for "//<<< This is the patch:")

decodeWord_Example.txt