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

Autrijus Tang autrijus at autrijus.org
Mon Jun 16 11:59:57 EDT 2003


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?
What about the WebUI?

> 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.

Thanks,
/Autrijus/
-------------- 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/87898ffa/attachment.pgp


More information about the Rt-devel mailing list