cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Dumon <br...@outerthought.org>
Subject Re: cvs commit: cocoon-2.1/src/blocks/web3/samples samples.xml
Date Tue, 06 Apr 2004 07:50:23 GMT
On Tue, 2004-04-06 at 00:55, Antonio Gallardo wrote:
> Stefano Mazzocchi dijo:
> > Antonio Gallardo wrote:
> >
> >> Stefano Mazzocchi dijo:
> >>
> >>>antonio@apache.org wrote:
> >>>
> >>>
> >>>>antonio     2004/04/05 05:25:36
> >>>>
> >>>>  Log:
> >>>>  removing encoding="ISO-8859-1"
> >>>
> >>>Why?
> >>
> >>
> >> Since UTF-8 is the new standard, I thought it was good to move our code
> >> to
> >> UTF-8.
> >
> > Did you convert the files or you just removed the encoding?
> 
> Converted and removed as needed. :-D

Are you sure about the converting them? The one file I checked seems to
be not OK: src/blocks/forms/samples/messages/FormsMessages_fr.xml

> 
> > Moreover, even if XML parsers are able to recognize encoding, it's very
> > bad practice to have an XML file without the encoding property set.
> 
> We have the default enconding that is UTF-8 in this case.

Agreed.

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno@outerthought.org                          bruno@apache.org


Mime
View raw message