cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robby Pelssers <Robby.Pelss...@nxp.com>
Subject RE: HTML5 serializer
Date Mon, 09 Jan 2012 07:32:16 GMT
Hi Thorsten,

Adding <meta> in general is not a concern faik but setting the correct encoding is.


Examples are 
<?xml version="1.0" encoding="UTF-8"?>  for xml files
And 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> for html files

So I was only referring to setting the correct encoding which can be configured as a Serializer
property.

Robby


-----Original Message-----
From: Thorsten Scherler [mailto:scherler@gmail.com] 
Sent: Sunday, January 08, 2012 10:28 PM
To: dev@cocoon.apache.org
Subject: RE: HTML5 serializer

On Fri, 2012-01-06 at 19:56 +0100, Robby Pelssers wrote:
> ....

> So we’re almost there.   Do you have any suggestion how to accomplish
> using the correct <meta charset=”utf-8”/>  ??  Or do you think that’s
> not worth the effort?

Hmm, actually that is not the concern of the serializer at all. The
serializer merely adds DOCTYPE PI and not much more. So <meta> is
nothing the serializer should add.

salu2

-- 
Thorsten Scherler <thorsten.at.apache.org>
codeBusters S.L. - web based systems
<consulting, training and solutions>
http://www.codebusters.es/

Mime
View raw message