You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Yung-Jeng Hung <wi...@ritax.dorm.ccu.edu.tw> on 2000/06/09 07:46:41 UTC
Encoding in SQL Processor
Hello all!
I have a need to produce Web pages containing data from DBMS;
I decide to use Cocoon, because it is flexible,
and it has the SQL Processor seems good for my need.
My pages are in a 8-bit multibyte encoding other than Unicode,
so the "encoding" attributes are added to all XML pages,
which are the content, translation and style pages.
The XSLT Processor seems work fine,
but the characters produced by the SQL Processor are translated
into character references from byte to byte,
makes them unviewable.
I guess that might be because SQL Processor does not perceive
the encoding attribute of document; the HTML formatter has the
same problem, and after I give its "encoding" property
in cocoon.properties, it may work.
It it true, or my mistake?
--
Yung-Jeng Hung <wi...@ms11.url.com.tw>