Hi Markos,

On Tue, 10 Feb 2015 11:41:47 -0200
Markos <[email protected]> wrote:

> [...]   
> Thanks for the tip.
> 
> I used the codes found in http://unicode-table.com/en/sets/esperanto/
> page
> 
> <para>&#264; &#284; &#292; &#308; &#348; &#364; &#265; &#285; &#293; 
> &#349; &#365; ?</para>
> 
> and generated:
> 
> Ĉ Ĝ Ĥ Ĵ Ŝ Ŭ ĉ ĝ ĥ ŝ ŭ
> 
> But just another question.
> 
> Doesn't matter if I use in the header:
> 
> <? xml version = "1.0" encoding = "ISO-8859-1"?>
> or
> <? xml version = "1.0" encoding = "utf-8"?>

In XML you have two options to add characters: directly or with
the syntax &#xHEX_CODEPOINT;. If you used this notation throughout
your document, your encoding will be just ASCII. ;) ASCII is a subset of
the ISO and UTF-8 encodings so you won't see any difference as there are
none.

However, things are different, if you've inserted your characters
directly. In that case, it IS important what encoding you've used. Of
course, this should be added into the XML declaration.


> And also don't makes any difference to use:
> 
> <article lang = "en">
> or
> <article lang = "pt-br">
> 
> The codes &#264; &#284; ... works fine.
>
> 
> But if I use:
> 
> <article lang = "eo">
> 
> Appears an error :
> 
> Why?
> 
> Thanks for your attention,
> Markos
> 
> Error when I use lang = "eo"
> 
> $ jw esperanto.xml
> Using catalogs: /etc/sgml/catalog
> Using stylesheet: /usr/share/docbook-utils/docbook-utils.dsl#html
> Working on: esperanto.xml
> openjade:/usr/share/sgml/docbook/stylesheet/dsssl/modular/html/../common/dbl10n.dsl:280:10:E:
>  

I'm not sure, why this happened. Probably an encoding issue in
esperanto.xml?

However, from your output you use the DSSSL stylesheets. These are
quite old. Have you any special reason why you use these instead of
XSLT?


-- 
Gruß/Regards,
    Thomas Schraitle

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to