Next in thread → Next in month →

Re: [docbook-apps] Problem with Unicode strings using docbook2pdf and docbook2html under Linux

From
Ali Majdzadeh <>
Date
2007-07-09T18:58:02+00:00
ID
Thread
Re: [docbook-apps] Problem with Unicode strings using docbook2pdf and docbook2html under Linux
Hello Jirka

Thanks. I managed to solve the problem using xsltproc.

Kind Regards

Ali Majdzadeh Kohbanani

On 7/9/07, Jirka Kosek <> wrote:
Ali Majdzadeh wrote:

> I am creating a book using XML DocBook. I use docbook2pdf and docbook2html
> tools under Linux (Fedora Core 6).

You can try to use XSL toolchain instead of DSSSL one. There is no new

development in DSSSL stylesheets.

> When dealing with English text,
> everything is fine, but when I want to enter text in my own language
> (Persian), these two tools, complain about Unicode strings. My main XML

> file
> looks like this:
>
> <?xml version="1.0" standalone="no" encoding="utf-8"?>
...
> I can not figure out the problem. By the way, the errors were reported as

> follows:
...
> jade:/opt/slm/doc/sgmlSources/manual.xml:19:12:E: non SGML character number
> 132

Try to set environment variable SP_ENCODING to value XML. It should help.

--
------------------------------------------------------------------

  Jirka
Kosek      e-mail:
      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services

  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------

Be in, register for XML Prague 2007 today! http://www.xmlprague.cz
Next in thread → Next in month →