if I enter a MOTD in the WebAdmin f.e.: "neues schöneres Webinterface auf http://domain.tld:1234/" and pres SaveSettings it's changed to: "neues schÃ¶neres Webinterface auf http://domain.tld:1234/"
On IRC it's displayed right. - It's no real big Deal - bug if you have to much free time and don't know what you might also fix *gg*
IRC doesn't really handle charsets at all, so it just works accidentally there.
I think we should switch everything to use UTF-8 here, that might already resolve this issue just by itself. Alternatively there is accept-encoding for <form>.
Someone else wants to look more closely at this? :/
A quick googling found this:
Suggested patch: http://sprunge.us/UbgP?diff
(Yes, this XML escaping assumes that <?xml encoding="UTF-8"?> e.g. is present in the document, but we have content-type:text/html;charset=utf-8 which does the trick for HTML.)
Committed revision 1716 with a "fix" ... not always perfect, but perfect if your client sends UTF-8 and/or you use webadmin or an UTF-8 enabled shell to change around stuff.
Log in to post a comment.