[rt-devel] Converting text/html e-mail to UTF

Dmitry Sivachenko mitya at cavia.pp.ru
Mon Jun 16 12:18:55 EDT 2003


On Mon, Jun 16, 2003 at 11:59:57PM +0800, Autrijus Tang wrote:
> On Mon, Jun 16, 2003 at 01:54:13PM +0400, Dmitry Sivachenko wrote:
> > We faced the following problem:  there are e-mails that are NOT multipart,
> > but their content-type is 'text/html; charset=...'.
> 
> Ahh, HTML emails.
> 
> > Such e-mails are not converted to UTF8 and consequently RT sends such
> > tickets with '???????' instead of non-ascii characters.
> 
> You mean, when it's sent via email to other correspondent?

Yes.

> What about the WebUI?

On WebUI it is OK.

> 
> > Is it possible to fix that by converting text/* types into UTF?
> 
> Maybe.  But I don't particularly like that approach since
> technically, XHTML and other text/* files may contain CDATA,
> which does not belong to any encoding and in any case cannot
> be transparently utf8ized.
> 
> I think the proper fix is to make unutf8ized (raw) text/html
> work, instead of force-utf8ize it.

I don't quite understand the last paragraph...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://pallas.eruditorum.org/pipermail/rt-devel/attachments/20030616/39e47a4a/attachment.pgp


More information about the Rt-devel mailing list