Hi, Ignacio,

[EMAIL PROTECTED] schrieb:
From: Reinhard Haller [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 21, 2007 10:40 AM

AFAIK to config neko you will need to pass a properties file: ( exceprt from
default cocoon.xconf )

      <map:generator label="content" logger="sitemap.generator.html"
        name="nekohtml" pool-max="${nekohtml-generator.pool-max}"
        src="org.apache.cocoon.generation.NekoHTMLGenerator">
          <neko-config>context://WEB-INF/neko.properties</neko-config>
      </map:generator>


You can then tweak the properties file pointed by neko-config.. There is a
neko.properties in the default install..Buried inside, it is:

http\://cyberneko.org/html/properties/default-encoding=Windows-1252

I knew the neko-html works in a similar way as the old Tidy HTML-generator.

I'm nto sure the setting of the default encoding really solves my problem. If you analyze the http-response to

http://www.heise.de/security/news/meldung/99281/

you can see the charset is defined as utf-8. So I changed the neko default-encoding property to

http\://cyberneko.org/html/properties/default-encoding=utf-8


The resulting neko output has the same errors regarding umlauts as all my other tryouts.

Any suggestions?

Thanks
Reinhard


Reply via email to