Re: Gamin website
- From: Daniel Veillard <veillard redhat com>
- To: James Henstridge <james jamesh id au>
- Cc: Leonardo Fontenelle <leo fontenelle gmail com>, gnome-web-list gnome org
- Subject: Re: Gamin website
- Date: Thu, 23 Mar 2006 10:06:05 -0500
On Thu, Mar 23, 2006 at 02:30:52PM +0000, James Henstridge wrote:
> On 23/03/06 12:54, Daniel Veillard wrote:
>
> >On Wed, Mar 22, 2006 at 09:45:42AM -0500, Daniel Veillard wrote:
> >
> >
> >>On Wed, Mar 22, 2006 at 02:26:57PM +0000, James Henstridge wrote:
> >>
> >>
> >>>On 22/03/06 09:48, Daniel Veillard wrote:
> >>>
> >>>
> >>>
> >>>>On Wed, Mar 22, 2006 at 07:21:28AM +0100, Quim Gil wrote:
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>Hi there,
> >>>>>
> >>>>>If Leonardo refers to http://www.gnome.org/~veillard/gamin/ , this looks
> >>>>>like a page fully controlled by Daniel - including the header
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>> How can I control the HTTP headers emitted by Apache for those pages ?
> >>>>
> >>>>
> >>>>
> >>>>
> >>>Have you tried a .htaccess file?
> >>>
> >>>
> >> Hum, no, I don't know how they work
> >>
> >>would that be something like the following line ?
> >>
> >>---------------
> >>AddType application/xhtml+xml .html
> >>---------------
> >>
> >>
> >
> > Okay, that works
> >
> >paphio:~ -> telnet www.gnome.org 80
> >Trying 209.132.176.176...
> >Connected to www.gnome.org.
> >Escape character is '^]'.
> >GET /~veillard/gamin/ HTTP/1.0
> >
> >HTTP/1.1 200 OK
> >Date: Thu, 23 Mar 2006 12:53:00 GMT
> >Server: Apache/2.0.46 (Red Hat)
> >Last-Modified: Thu, 27 Oct 2005 14:34:15 GMT
> >ETag: "370095-20af-4466e7c0"
> >Accept-Ranges: bytes
> >Content-Length: 8367
> >Connection: close
> >Content-Type: application/xhtml+xml
> >
> >
> If you want to leave the content type as text/html (e.g. so that
> internet explorer can still view the page), you might be able to put
> "AddDefaultCharset ISO-8859-1" in the .htaccess file instead.
WTF ...
gamin/index.html starts with:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
How can it get the charset wrong ????
I'm removing the .htaccess ! If there is still an encoding problem, raise a
bug for the browser being used, clearly it should be detected correctly.
Daniel
--
Daniel Veillard | Red Hat http://redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]