From:
"Christopher H. Laco" <chris.laco [at] threetech.com>
Date:
Sun, 6 Oct 2002 12:12:01 -0400 (EDT)
To:
<piers [at] ompa.net>
To:
<axkit-users [at] axkit.org>
Subject:
Re: UTF headers vs. ISO-8859-1 encoding
Sorry, I should've been more clear. The error itself is from the W3C validator. While the pages are declared as being ISO-8859-1 in both the xsp/xml/xsl source as well as in the meta tags (), the output from Apache/AxKit still has the Content-Type header set to UTF-8. All XSP/XSL pages are declared as encoding="ISO-8859-1", and the pages are physically the ANSI code set w/ Unix line feeds. The base flow of the site is: XSP page -> Global Stylesheet (LibXSLT) -> to_xhtml styleshet (LibXSLT) and out the door. In the last exciting episode of Das Internet, Piers Harding sent forth the following words of wisdom: > > Hmm - this is very strange - are you sure that the AxKit is producing > this error, as I just grep'ed all the source code for it, and I couldn't > find it? What other things are using - an XSLT processor etc. ? > > Cheers. > > > On Sun, Oct 06, 2002 at 11:36:17AM -0400, Christopher H. Laco wrote: >> Well, it made sense, but it doesn't change anything. >> >> I added this to httpd.conf: >> >> AxTranslateOutput On >> AxOutputCharset ISO-8859-1 >> >> killed apache, cleared the cache directory, and restarted apache. Same >> result as before... >> >> --- >> * Warning: Character Encoding mismatch! The character encoding >> specified in the HTTP header («utf-8») is different from the one >> specified in the META element («iso-8859-1»). I will use «utf-8» for >> this validation. >> --- >> >> So clearly , the solution is to change everything to declare UTF-8 >> instead :-) >> >> >> >> In the last exciting episode of Das Internet, Christopher H. Laco sent >> forth the following words of wisdom: >> > I'll bet money that is exactly the problem. Although, this sorta >> makes me ask; doesn't this make the process of specifying encoding >> in all the xml/xsl docs pointless? >> > >> > In case anyone is curious... http://today.icantfocus.com/ >> > It's not much yet, but it's built entirely in AxKit. >> > >> > -=Chris >> >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: axkit-users-unsubscribe [at] axkit.org >> For additional commands, e-mail: axkit-users-help [at] axkit.org -- /^Mic(ro|key)(shaft|slothe|suck): Wh(ere|at|o) Do You Want To (BSOD|Extend|Extinguish|Overcharge|Purchase) Today?$/
UTF headers vs. ISO-8859-1 encoding - Christopher H. Laco on 6 Oct 2002 07:33:53 -0000
Re: UTF headers vs. ISO-8859-1 encoding - Piers Harding on 6 Oct 2002 08:26:30 -0000
Re: UTF headers vs. ISO-8859-1 encoding - Christopher H. Laco on 6 Oct 2002 15:28:53 -0000
Re: UTF headers vs. ISO-8859-1 encoding - Christopher H. Laco on 6 Oct 2002 15:42:42 -0000
Re: UTF headers vs. ISO-8859-1 encoding - Christopher H. Laco on 6 Oct 2002 16:18:26 -0000
Re: UTF headers vs. ISO-8859-1 encoding - Christopher H. Laco on 6 Oct 2002 16:33:18 -0000
Re: UTF headers vs. ISO-8859-1 encoding - Piers Harding on 6 Oct 2002 16:08:44 -0000
Re: UTF headers vs. ISO-8859-1 encoding - Piers Harding on 6 Oct 2002 16:21:36 -0000
Re: UTF headers vs. ISO-8859-1 encoding - Tod Harter on 7 Oct 2002 12:28:45 -0000
Back up to archives |
These pages are copyright © 2002 Apache Software Foundation


Index