[cvs] commit: framework/Text_Filter/Filter html2text.php
Jan Schneider
jan at horde.org
Fri Sep 19 13:43:52 UTC 2008
jan 2008-09-19 09:43:52 EDT
Modified files:
Text_Filter/Filter html2text.php
Log:
This is more complex. html_entity_decode() is completely useless. It only
transforms HTML entities into ISO-8859-1 characters. This is plain useless,
because the text containing these entities might be in a completely different
charset. So, we take the translation table, convert it to the charset of the
text, and then apply it.
Revision Changes Path
1.29 +5 -9 framework/Text_Filter/Filter/html2text.php
Chora Links:
http://cvs.horde.org/diff.php/framework/Text_Filter/Filter/html2text.php?r1=1.28&r2=1.29&ty=u
More information about the cvs
mailing list