The consumeFolding() method is only checking for a SPACE character (decimal 32) as an allowed folding character sequence.
RFC 2445 states:
a long line can be split between any two characters by inserting a CRLF immediately followed by a single linear white space character (i.e., SPACE, US-ASCII decimal 32 or HTAB, US-ASCII decimal 9).
Regards
Ian