W3C home > Mailing lists > Public > www-validator@w3.org > January 2002

Re: Macintosh charset blowing up?

From: Nick Kew <nick@webthing.com>
Date: Sat, 5 Jan 2002 19:57:43 +0000 (GMT)
To: Terje Bless <link@pobox.com>
cc: Martin Duerst <duerst@w3.org>, <www-validator@w3.org>, Gerald Oskoboiny <gerald@w3.org>, <nhtcapri@rrzn-user.uni-hannover.de>
Message-ID: <20020105195205.N1372-100000@fenris.webthing.com>

On Sat, 5 Jan 2002, Terje Bless wrote:

> >Gerald, I suggest we upgrade to the newest version of iconv
> >and then see whether the problems are gone.
>
> The problem is that iconv is a part of glibc so to upgrade it we need to
> upgrade the whole box to a new version of the OS. That's a wee bit heavy
> handed.

I suggest a quick-hack fix for this, that I've added to Page Valet:

if ( charset matches /^mac(intosh|roman)/i ) {
  message("charset not supported; treating it as UTF-8") ;
  charset = "UTF-8" ;
}

>
> I'll try to find some time to test this on my development box (recent RH
> with glibc 2.2) so we at least know whether or not the problem is fixed.

Let us know if anything seems to improve :-)

BTW: this suggests to me that separating iconv from libc might be a
good idea.  Iconv on FreeBSD doesn't even try to support macintosh,
but has the advantage of being much easier to fix if we find a bug.

-- 
Nick Kew

Site Valet - the mark of Quality on the Web.
<URL:http://valet.webthing.com/>
Received on Saturday, 5 January 2002 14:57:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:00 GMT