cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Leangen" <david.lean...@konova.com>
Subject HTML Generator and UTF-8 encoding
Date Sun, 25 Jan 2004 02:36:43 GMT

Hi!

I am having a bit of a problem when trying to output UTF-8 encoded
(Japanese) html directly through. Everything works fine when I use the
default File generator. The problem only occurs when using the HTML
generator.

Am I doing something wrong, or is this a bug?


Thanks!!


Here is a simple example.

source file - japanese.html (UTF-8 encoded):

<html lang="jp">
  <head>
    <title>日本語のテスト</title>
  </head>
  <body>
    <p>日本語</p>
  </body>
</html>

sitemap.xmap snippet:

   <map:match pattern="japanese.html">
     <map:generate src="japanese.html" type="html"/>
     <map:serialize type="html"/>
   </map:match>





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message