- From: Richard Ishida <ishida@w3.org>
- Date: Thu, 24 Jul 2003 10:35:49 +0100
- To: <public-i18n-geo@w3.org>
- Cc: <w3c-i18n-ig@w3.org>
FYI.
Since Andrew Cunningham sent something out on the geo list recently
about use of the BOM, I thought I'd forward this latest anecdote that
reinforces any advice not to use the utf-8 BOM. It perhaps also suggests
that we should mount a campaign to ensure that developers of user agents
and tools don't produce or fall over the BOM.
RI
============
Richard Ishida
W3C
tel: +44 1753 480 292
http://www.w3.org/International/
http://www.w3.org/People/Ishida/
-----Original Message-----
From: Richard Ishida [mailto:ishida@w3.org]
Sent: 24 July 2003 10:31
To: 'Bert Bos'
Cc: Richard Ishida
Subject: RE: Opera style problem
Thanks for that!
I removed the BOM and it seemed to do the trick. Hmm. I don't see how
the average user will understand that. Perhaps we should advise the
Opera guys.
That utf-8 BOM is certainly a pain.
Cheers!
RI
============
Richard Ishida
W3C
tel: +44 1753 480 292
http://www.w3.org/International/ http://www.w3.org/People/Ishida/
> -----Original Message-----
> From: Bert Bos [mailto:bert@w3.org]
> Sent: 24 July 2003 10:23
> To: ishida@w3.org
> Subject: Re: Opera style problem
>
>
> Hello Richard,
>
> > If I look at http://www.w3.org/People/Ishida/ (still under
> > re-development) in Opera 7.11 what I see is the default font size.
> >
> > There are two style sheets, ishida.css and ishida-w3c.css (which is
> > imported into the xhtml).
> >
> > I did the following tests on my PC:
> >
> > If I change the font-size in ishida.css body {} to say 2em I see a
> > difference in IE, NN, Moz, but not in Opera.
> >
> > If I add font-size: 2em; to the body {} in ishida-w3c.css I
> *do* see a
> > difference in Opera.
> >
> > If I add font-size: 2em; to say div.content {} back in ishida.css I
> > also see a difference.
>
> I think it is the BOM at the start of ishida.css that
> confuses Opera. The other file, ishida-w3c.css, doesn't have a BOM.
>
> Maybe forcing Apache to serve the file with charset=UTF-8
> helps. Or remove the BOM. Or you can try inserting something
> like this between the BOM and the first rule:
>
> ignore this { }
>
>
>
> Bert
> --
> Bert Bos ( W 3 C ) http://www.w3.org/
> http://www.w3.org/people/bos/ W3C/ERCIM
> bert@w3.org 2004 Rt des Lucioles / BP 93
> +33 (0)4 92 38 76 92 06902 Sophia Antipolis Cedex, France
>
Received on Thursday, 24 July 2003 05:35:54 UTC