Partially revert "All data passed around in Horde internally should be UTF-8."
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 7 Oct 2010 21:07:59 +0000 (15:07 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 7 Oct 2010 21:14:26 +0000 (15:14 -0600)
commit86f36efd4c3d51cbb39cac45f52cf774f3c91a04
treec3f206da6d6db5000fb7ae6ff535ffb1c9db8ab2
parent1fcf616d1910b242bf0fa46ed363f6f6396bb9d7
Partially revert "All data passed around in Horde internally should be UTF-8."

This partially reverts commit e60da622060274282dd92c2d41c4c0dce4724dd6.

Horde_Text_Filter is not part of Horde the application - so there is no
guarantee that text is in UTF-8.  In fact, much of the usefulness of
this package is it does the necessary charset conversion as needed.

Example: for Horde_Mime_Part objects created from message data, the text
may be in a different charset than UTF-8.  This is perfectly fine -
unnecessary charset conversion may just be a waste of time.

This fixes incorrect character display in IMP (at least for the few
messages I have tested so far).
framework/Text_Filter/lib/Horde/Text/Filter/Cleanhtml.php
framework/Text_Filter/lib/Horde/Text/Filter/Html2text.php
framework/Text_Filter/lib/Horde/Text/Filter/Space2html.php
framework/Text_Filter/lib/Horde/Text/Filter/Text2html.php
framework/Text_Filter/lib/Horde/Text/Filter/Xss.php