6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
1/8/26
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
>> This isn't correct. Xss filter needs to return text in whatever >> charset it was provided in, which is why the convertCharset() call is >> necessary. The question is why $dom->encoding is 'ISO-8859-1' for >> you and 'UTF-8' for *everybody* else. > > Hmm wait, weird, the message attached to this ticket looks wrong. > re-attaching the message. > > To the question as why $dom->encoding is 'ISO-8859-1', the answer is > in the message : > <!--a75c305b1c0a6022--><meta http-equiv=3DContent-Type > content=3D"text/html; charset=3Diso-8859-1"= > > If I change 'charset=3Diso-8859-1"=' to 'charset=3Diso-8859-15"=', > then $dom->encoding = ISO-8859-15 > > If I remove the meta tag from the message, everything works fine. > > I've checked other messages I'm having issue with, and they all have > the same charset meta tag > > So this behaviour is expected according to > http://devzone.zend.com/article/8855, Section 4. > > > I don't understand why this doesn't work here and works for you. What > version of libxml2 and php are you using just in case this is related > to the version I'm using. As I'm using the latest (or close enough), > I'll try to downgrade to whatever version you are using. > > >
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