OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Problem with Unicode strings using docbook2pdfand docbook2html under Linux


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: jirka@kosek.cz      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

OpenPGP digital signature



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]