xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael K├Ânig <Michael.Koe...@ms-koenig.de>
Subject problems with unicode in a table
Date Wed, 09 Jan 2002 20:08:20 GMT
Hello,
I use a table where I find a strange behaviour.

Whenever I use a unicode-character like the Euro-Currency-Symbol \u20AC
the following columns a more or less shifted to the right.

Like this:

no unicode used     19,00
with unicode           19,00
no unicode          20,00


The table is formated like this:
  <fo:table-row>
    <fo:table-cell>
      <fo:block><xsl:value-of select="summe/beschreibung"/></fo:block>
    </fo:table-cell>
    <fo:table-cell>
      <fo:block text-align="end"><xsl:value-of
select="summe/betrag"/></fo:block>
    </fo:table-cell>
  </fo:table-row>

and the xml:
..
<summe><beschreibung>no unicode
used</beschreibung><betrag>19,00</betrag></summe>
<summe><beschreibung>with unicode
&#x20AC;</beschreibung><betrag>20,00</betrag></summe>
..

Any idea?
By the way, the DOM-Document has encoding="UTF-8"

Thanks, Michael



Mime
View raw message