Thanks, now working. But instead of encoding utf-8 I have set
windows-1251. With
utf-8 works too, but the toc is generated is not
correct.

2010/3/31 Hussein Shafie <[email protected]>

> Krotkikh Fedor wrote:
> > I'm trying to convert DITA to chm, but I get an error
> >
> > fatal error reported by the XSLT engine: Output character not available
> > in this encoding (decimal 1056); SystemID:
> >
> file:/C:/Program%20Files/xslutil_perso-4_3_2/addon/config/dita/xsl/htmlhelp/htmlhelp.xsl;
> > Line#: 120; Column#: -1
> > cannot transform
> > "E:\sources\RTS\Doc\rts_doc__2300745829513850946_chm\basic.ditac" to
> > "E:\sources\RTS\Doc\rts_doc__2300745829513850946_chm\basic.html" using
> >
> file:/C:/Program%20Files/xslutil_perso-4_3_2/addon/config/dita/xsl/htmlhelp/htmlhelp.xsl:
> > Output character not available in this encoding (decimal 1056)
> > cannot delete directory
> > "E:\sources\RTS\Doc\rts_doc__2300745829513850946_chm"
> > Conversion "ditaToHTMLHelp" has failed with exit code 5.
> >
> > Can we somehow solve the problem?
> > XML XSL Utility 4.3.2
>
> We currently don't understand how this can happen. The XSLT engine,
> Saxon 9, is supposed to output numerical character entities (e.g.
> &#1056;) in such case.
>
> Have you done anything special? (Having a source DITA document in say,
> Russian, is of course *not* something special.)
>
> We'll investigate on this and fix the problem in next release of XMLmind
> DITA Converter (ditac), which is integrated in XMLmind XSL Utility.
>
> Meanwhile, please edit "C:\Program
> Files/xslutil_perso-4_3_2/addon/config/dita/xsl/htmlhelp/htmlhelp.xsl"
> using a text editor and replace iso-8859-1 by utf-8 everywhere in:
>
> ---
>  <!-- Specify the output encoding here and also everywhere below. -->
>  <xsl:param name="xhtmlEncoding" select="'iso-8859-1'"/>
>
>  <xsl:output method="html" encoding="iso-8859-1" indent="no"/>
> ---
>
> Please tell us if this gives you a *working* chm file.
>
>
>
>


-- 
Кротких Федор
mailto:[email protected]
 
--
XMLmind FO Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xfc-support

Reply via email to