6.0.0-beta13
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
4/11/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#11069] wrong utf-8 encondigs at html viewer
*
Your Email Address
*
Spam protection
Enter the letters below:
. .. ..__..__. . \ /| || |[__] | \/ |__||__|| |\__|
Comment
> When we are using "View HTML data in new window" function the > framework creates DOMDocument to make cleaning and de-XSS. > There is a problem here with utf-8 (discussed > php.net/manual/en/domdocument.loadhtml.php) > I found the bug and fixed in my distribution (PEAR/Horde/Domhtml.php > line 68): > Use $doc->loadHTML('<html><head><!--a75c305b1c0a6022--><meta > http-equiv="content-type" content="text/html; charset=UTF-8">' . > Horde_String::convertCharset($text, $charset, 'UTF-8')); > instead of $doc->loadHTML($this->_xmlencoding . > Horde_String::convertCharset($text, $charset, 'UTF-8')); >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers