6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
11/7/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#9992] Encoding issues
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ \ /.___ __ . [__) >< [__ / ` | | / \[___\__.\__|
Comment
> It takes me about half of the day but i was able to find and fix the > problem. Unicode characters were broken by PHP funcion 'loadHTML' of > 'DOMDocument' class. I have made this change in Horde source code > based on comments on > http://sk.php.net/manual/en/domdocument.loadhtml.php : > > File: /usr/share/php/Horde/Domhtml.php > > - $doc->loadHTML($this->_xmlencoding . > Horde_String::convertCharset($text, $charset, 'UTF-8')); > > + $text = mb_convert_encoding(Horde_String::convertCharset($text, > $charset, 'UTF-8'), 'HTML-ENTITIES', 'UTF-8'); > + $doc->loadHTML($this->_xmlencoding . $text); >
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