Menu

#67 Encoding for package HTML files

0.8.2
open
5
2008-09-11
2008-09-11
No

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

Discussion

  • Mikheil Kapanadze

    Sample application.xml for package with Russian comments

     
  • Stuart Turton

    Stuart Turton - 2011-09-09

    Since 0.9.3 HTML is generated as UTF-8, which is as generic as can currently be performed.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.