Hi Bertrand,

Bertrand Delacretaz schrieb:
On Nov 21, 2007 10:39 AM, Reinhard Haller
<[EMAIL PROTECTED]> wrote:

...The html-document doesn't contain any charset spec and neko has a
charset problem (the charset of the http response is utf-8)....

I've had to use the input-encoding parameter for neko to work
correctly, for example:

        <map:transform type="nekohtml">
          <map:parameter name="input-encoding" value="iso-8859-1" />
        </map:transform>

I'm not convinced, the parameter changes anything as you can see in the following sitemap (I tried also iso-8859-1 and utf-8).

           <map:match pattern="**/*.neko">
<map:generate type="nekohtml" src="{request-param:serv}" label="debug1x" >
           <parameter name="input-encoding" value="1"/>
               </map:generate>
                <map:serialize type="xml"/>
           </map:match>

Greetings
Reinhard

Reply via email to