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