fbb: Support ISO-8859-1 encoded headers (subject)
martinhpedersen opened this issue · comments
Martin Hebnes Pedersen commented
Although the winlink message format specification says that the headers should be ASCII-only characters, RMS Express encodes the subject header as ISO-8859-1.
If we use https://golang.org/pkg/mime/#WordDecoder and #WordEncoder for the headers, we should be able to properly decode ISO-8859-1 headers as well as conforming with RFC 2047 on encode.
Currently, fbb encodes/decodes the headers as UTF-8... which is clearly wrong.
Martin Hebnes Pedersen commented
Fixed in fa48ce7.