[ http://issues.apache.org/jira/browse/FOR-828?page=all ]
Thorsten Scherler updated FOR-828: ---------------------------------- Attachment: ie.patch.v1.diff First version of a fix. Will add the xmlns but strips it again later on. not my favorite. > Internet Explorer fails to read the UTF-8 character encoding in the XML > statement, defaults to western encoding. > ---------------------------------------------------------------------------------------------------------------- > > Key: FOR-828 > URL: http://issues.apache.org/jira/browse/FOR-828 > Project: Forrest > Type: Bug > Components: Dispatcher (aka views) > Versions: 0.8-dev > Reporter: paul bolger > Attachments: ie.patch.v1.diff > > First four lines of Dispatcher rendered page: > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > <html xmlns:forrest="http://apache.org/forrest/templates/1.0" > xmlns:jx="http://apache.org/cocoon/templates/jx/1.0" > xmlns:i18n="http://apache.org/cocoon/i18n/2.1"> > <head> > IE (win, version 6.0 - haven't tried others) misses the character encoding > and defaults to western 88 or whatever, messing up some characters. > Putting a XHTML namespace declaration in the html tag seems to fix this, but > skipping the XML tag and adding a standard HTML metatag encoding would also > do the trick. I'm not sure on the relative merits of either approach but > suspect neolithic browsers such as NS4.79 aren't going to be impressed by > namespaces...Might be better to go for the legacy option. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira