[OGo-Bugs][Bug 1873] New: a patch to handle the content type in mime body parts
bugs@opengroupware.org
bugs@opengroupware.org
Tue, 15 May 2007 05:31:29 +0200 (CEST)
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug
report.
http://bugzilla.opengroupware.org/bugzilla/show_bug.cgi?id=1873
Summary: a patch to handle the content type in mime body parts
Product: SOPE
Version: TRUNK
Platform: All
OS/Version: other
Status: NEW
Severity: normal
Priority: normal
Component: sope-mime
AssignedTo: helge.hess@opengroupware.org
ReportedBy: wsourdeau@inverse.ca
QAContact: znek@mulle-kybernetik.com
CC: bugs@opengroupware.org
>From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; fr; rv:1.8.1.3) Gecko/20070310
Iceweasel/2.0.0.3 (Debian-2.0.0.3-2)
Description of problem:
The current version of sope-mime encodes its text by defaulting all the time to
[NSString defaultCStringEncoding]. This patch fixes this partly by taking the
charset parameter of the content-type field into account. It falls back on
defaultCStringEncoding if nothing suitable is found.
The rest of the encoding supported by gstep-base/libFoundation should be coded
but at least utf-8 is now supported.
Version-Release number of selected component (if applicable):
How reproducible:
Always
Steps to Reproduce:
1. write an utf-8 message
2. try to read it in SOGo-Inverse
3. apply this patch
4. be happy
Actual Results: Sadness
Expected Results: Happiness
Additional info:
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.