View Single Post
Old 02-02-2009, 05:15 PM   #111
mwestmr
Junior Member
mwestmr began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Feb 2009
Device: iphone
Quotes and other characters with -EPUB (works with -XML)

Many thanks to Eladio for a great tool!

One of my .lrf files gives some problems with quotes and other characters. When I convert it with -XML I get correct text like:

<Tag Type="BeginP"/>
Vili glanced up, turned his head back toward the interior, and said, with no par
ticular inflection, &quot;Klava with honey for Lord Taltos.&quot; He then turned back to m
e and said, &quot;Your usual table is available, m&apos;lord.&quot;
<Tag Type="EndP"/>

while using -EPUB gives the same paragraph as:

<div class="st012"><span class="st013">Vili glanced up, turned his
head back toward the interior, and said, with no particular
inflection, &ntilde;Klava with honey for Lord Taltos.&icirc; He
then turned back to me and said, &ntilde;Your usual table is
available, m&Iacute;lord.&icirc;</span></div>

In the EPUB version the &ntilde; should be &quot;, &Iacute; should be &apos;, etc. The linebreaks in the XML output also look strange to me.

I'll sent the problematic .lrf file to Eladio by pm.

For what it's worth, this is under OS X 10.5.6 with java -version:
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06-153)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_07-b06-57, mixed mode)

Matt.
mwestmr is offline   Reply With Quote