[OGo-Developer] NGMime and encoding
Wolfgang Sourdeau
developer@opengroupware.org
Sat, 28 Jul 2007 17:47:30 -0400
Hi,
I am intercepting a bunch of text fields from a multipart/form-data
encoded form. However it seems Firefox doesn't produce mime-type
neither provides encoding information for this. This makes NGMime
return a default of "text/plain; charset=us-ascii", while the data
really is UTF-8 (which can be deduced from the encoding used to
produce html content).
Since NGMime is also used to decode mail parts, I am not sure how I
can patch NGMime to accept an encoding set externally when the data
source is an HTTP stream...
Wolfgang