6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
8/8/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#9567] charset pb replying to message
*
Your Email Address
*
Spam protection
Enter the letters below:
. .._.. .. .. . | | | | ||__||_/ |/\|_|_|__|| || \
Comment
>> A user had submitted this patch awhile back. Maybe this fixes things >> for you? > > Nope, it does fix anything, although I use the same OS Centos 5.4, > but probably not the same libxml/php version > > Googling a bit, I ran into this article > http://devzone.zend.com/article/8855, 5. Save/dumping operations and > encoding : > > "Node or XML subtree dumping using the DOMDocument::saveXML($node) > method is always performed in UTF-8." > > This is the issue I'm having, $dom->encoding = iso-8859-1 and > $dom->dom->saveXML($child) returns utf-8. > > The following patch works for me for all messages read, reply, > forward... (for whatever I've tested so far) : > --- Xss.php.org 2011-03-15 10:41:22.000000000 +0100 > +++ Xss.php 2011-03-15 10:41:24.000000000 +0100 > @@ -130,7 +130,7 @@ > } > } > > - return Horde_String::convertCharset($text, $dom->encoding, > $this->_params['charset']); > + return $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