On Wed, Nov 23, 2016 at 1:35 PM, Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum 10353@lyskom.lysator.liu.se wrote:
IÃ'm sorry, but your code is incorrect, and it cannot be done correctly either. As I explained, the encoding rules depend on the grammar of the paricular header field. Use of the _text functions is correct only for headers which grammar declare them to be "text". Headers which instead use the "phrase" non-terminal in their grammar (such as the "From:" and "To:" headers) need to be treated differently. There is even an example in RFC1522 which is not correctly decoded by your class.
Looks like the LysKOM to mailing list gateway is finally up again - yay! Small oddity of encoding (unless that's a typo in that "I'm" above) but that's no biggie. Thank you thank you thank you to whomever is responsible for this.
ChrisA