W3C home > Mailing lists > Public > www-style@w3.org > July 2004

[Fwd: Re: Handling unrecognized or unsupported charset]

From: Tex Texin <tex@XenCraft.com>
Date: Thu, 15 Jul 2004 23:28:33 -0400
Message-ID: <40F74B61.55308511@XenCraft.com>
To: W3C Style <www-style@w3.org>

It's not best case I agree. Personally I think style sheets should give errors
and fail. The idea of silently ignoring errors or conflicts is bogus.

But I don't see that doing as much as you can is any worse than not using the
entire sheet as you suggested (I think.)

Boris Zbarsky wrote:
> Tex Texin wrote:
> > No, the style sheet is defined in terms of unicode characters, but the encoding can
> > be anything and parsing can be in the native encoding as long as it is equivalent to
> > Unicode.
> This last part is sort of key.
> > If in the case of an unrecognized encoding, the parser presumed utf-8 and
> > looked for the usual boundary markers (@, ;, etc.) for many sheets it would do an
> > adequate job of parsing.
> Yes, but is that desirable?  That would get flat-wrong results for any
> non-ascii-compatible encoding out there, for example...  of which there are plenty.
> -Boris

Tex Texin   cell: +1 781 789 1898   mailto:Tex@XenCraft.com
Xen Master                          http://www.i18nGuy.com
XenCraft		            http://www.XenCraft.com
Making e-Business Work Around the World
Received on Thursday, 15 July 2004 23:29:55 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:14 UTC