logo       

Re: RE: Patch to encode iso-8859-1 using HTML::Entities: msg#00008

Subject: Re: RE: Patch to encode iso-8859-1 using HTML::Entities
> > I'd suggest that you dont do this...  Adding support for 
> > ISO-8859-1 directly into H::T will set a precedent for other 
> > encodings (not everyone uses the Latin character set)...
> 
> Unfortunately, the precedent is that H::T generates broken,
> non-compliant HTML. The spec says that anything that's not
> 7 bit ASCII needs to be encoded. Latin1 is the common
> denominator.

Which spec says that anything other than 7bit ascii needs to be encoded?  I'm 
not sure that I understand which spec you are refereing to.

I understand that at minimum the a HTML document should specify the document 
encoding (or at least a META tag with the HEAD of the document).  If no 
encoding is specified, then the browser can assume that it is encoded in 
ISO-8859-1.


> > Why not just output the text as UTF8?
> 
> The infrastructure we're building on supports Latin1, but
> not UTF-8. Fixing H::T to generate compliant bits is simple;
> reworking 20 person years of code to do UTF-8 isn't.


> Nothing in the patch precludes using other encodings.

Thats true, but if we add support for encoding to Latin, should we then do that 
for every other encoding?

regards,
Mathew


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
audio.irate.dev...    yellowdog.gener...    ietf.ips/2002-0...    xfree86.fonts/2...    busybox/2003-07...    emacs.jdee/2004...    linux.mandrake....    hardware.microc...    user-groups.lin...    science.analysi...    version-control...    db.filemaker.de...    cluster.openmos...    mail.eyebrowse....    text.xml.xerces...    kde.devel.kwrit...    finance.moneyda...    gcc.regression/...    network.routing...    os.freebsd.deve...    recreation.radi...    qnx.openqnx.dev...    python.xml/2002...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe