[OGo-Bugs][Bug 1868] New: detecting charset information in headers
bugs@opengroupware.org
bugs@opengroupware.org
Thu, 3 May 2007 23:42:46 +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=1868
Summary: detecting charset information in headers
Product: SOPE
Version: TRUNK
Platform: All
OS/Version: other
Status: NEW
Severity: normal
Priority: normal
Component: sope-appserver - general
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 i686; fr; rv:1.8.1.3) Gecko/20070310
Iceweasel/2.0.0.3 (Debian-2.0.0.3-2) XPCOMViewer/0.9.5
Description of problem:
This patch allows WOMessage to configure its encoding depending on the charset
value passed in the Content-Type field of the headers. With the current code,
configurations enabling WOMessageUseUTF8 won't interpret iso messages correctly,
nor will configurations disabling it with UTF-8 messages.
The code handles translation of utf-8, iso-8859-1 and ascii charsets to the
corresponding NSStringEncoding. It could be enhanced by adding more charset
translations but it should handle most western cases as it is.
Version-Release number of selected component (if applicable):
How reproducible:
Always
Steps to Reproduce:
wsourdeau@mozzarella:~$ fortune
You will remember something that you should not have forgotten.
Additional info:
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.