Hi,

I made one more experiment:

I created the following xhtml file:

,-----[ dashtest.xhtml ]---------------------------------------------------
| <?xml version="1.0" encoding="UTF-8"?>
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
|    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd";>
| <html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en">
|   <head>
|     <meta http-equiv="Content-Type" content="application/xhtml+xml; 
charset=utf-8" />
|     <meta name="author" content="P. R.-P." />
|     <meta name="date"   content="2012-07-22" />
|     <title>Testfile</title>
|   </head>
|   <body>
|     <h1>
|       <tt>FBReader</tt> test
|     </h1>
|     <p>
|      Hyphen: xxx-xxx
|     </p>
|     <p>
|      ndash: XXX &ndash; YYY &#8211; ZZZ
|     </p>
|     <p>
|      mdash: XXX &mdash; YYY &#8212; ZZZ
|     </p>
|   </body>
| </html>
`--------------------------------------------------------------------------

... and converted it to an epub file Dash_Test.epub using 
ecub (www.juliansmart.com/ecub).
(I am appending that file although I suspect it will not make it
to the BTS.)

Iceweasel and fbreader are displaying the .xhtml file correctly.

When viewing the .epub file in fbreader, the &ndash; and &mdash;
are missing, although the &#8211; and &#8212; are visible.

This result is independent from the font family selected in the
Options (Bookman Old Style/Comic Sans MS/Georgia/Palatino Lino-
type/whatever).

  Petra

PS: This _may_ of course be a bug in the ecub utility, but
    at least it includes the .xhtml file unchanged.

Attachment: Dash_Test.epub
Description: Binary data

Reply via email to