"David Leangen" <[EMAIL PROTECTED]> at 2004/1/25 11:29:09
  ---"HTML Generator and UTF-8"
> 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?

I'm constructing Japanese site now by Cocoon 2.1.3. Cocoon uses JTidy for converting 
the html source file. But JTidy maybe can't process Japanese html files correctly, 
Shift_JIS or UTF-8 and so on.

Tidy can convert the Japanese html files to XHTML files. So, I decided to convert 
the all site files to XHTML, and realized by Tidy binary. File Generator in 
Cocoon is work fine for XHTML. And serializing is desirable xhtml rather than 
html.

The following is the part of my sitemap.xmap.

    <map:match pattern="*.html">
      <map:generate type="file" src="...xhtml file..." />
      <map:transform type="xslt" src="...xslt file..."/>
      ....
      <map:serialize type="xhtml"/>
    </map:match>

> 
> PS - If this message goes through more than once, sorry about that! :-(

Sorry, I sent only to you, and re-send to ml.
_______________________________________________________________
Masayuki Nii <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>:iChat Ready
  Web Site <http://msyk.net> / OME <http://mac-ome.jp>:Emailer
  Home Page for MAC USERS <http://msyk.net/home/>:for Browser home


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to