Encoding for package HTML files
Status: Alpha
Brought to you by:
altumano
Hello,
Seems like PLDoc creates output HTML files for PL/SQL Packages in iso-8859-1 encoding. This causes problems when package comments are provided in different language. Sample application.xml file (attached) has texts in Russian. Output files contain ???-s instead of texts.
The problem is solved when I change resources/unit.xsl from
<xsl:output method="html" indent="yes" encoding="iso-8859-1"/>
to
<xsl:output method="html" indent="yes" encoding="UTF-8"/>
As I can see in the code (for example, XMLWriter class), output encoding must be UTF-8 as it's hard-coded there. So I think unit.xsl needs to be corrected.
Thank you,
Mikheil
Sample application.xml for package with Russian comments
Since 0.9.3 HTML is generated as UTF-8, which is as generic as can currently be performed.