[Tickets #8393] Re: charset problem in html file in attachment
bugs at horde.org
bugs at horde.org
Tue Jul 7 21:40:14 UTC 2009
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/8393
------------------------------------------------------------------------------
Ticket | 8393
Updated By | Michael Slusarz <slusarz at horde.org>
Summary | charset problem in html file in attachment
Queue | IMP
Version | 4.3.2
Type | Bug
State | Not A Bug
Priority | 1. Low
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
Michael Slusarz <slusarz at horde.org> (2009-07-07 17:40) wrote:
> Hi, thanks for your quick answer. One part of the problem is that
> the content-type of the part is wrong. It's setted with a call like
> this :
> $msg->setCharset(NLS::getCharset());
> So every html part gets an "UTF-8" encoding, which can be wrong.
> What would you say about reading and setting charset for an html attachment ?
There is no way to determine the charset of a file uploaded via RFC
1867. And there is no reliable way to auto-determine the charset of a
text file. Therefore, we fall back to the only information we are
provided from the remote OS - the charset supported by the browser.
More information about the bugs
mailing list