Forum Bugs

Non-breaking spaces are treated like A with circumflex

pepelsbey
See attached archive:

— index.htm // source file
— index.pdf // converted by `$ prince index.htm` command

“Blah Blah Blah” words in index.htm are divided with non-breaking space, but in result index.pdf they are replaced with  (U+00C2) symbol and normal space.

But   entity works fine though.
  1. nbsp.zip12.7 kB
mikeday
The HTML parser we are using in Prince is not fully HTML5 compliant, so you will need to change the charset declaration back to the old style like this:
<meta http-equiv="content-type" content="text/html;charset=UTF-8">

We are working on a HTML5 parser for inclusion in a future release of Prince.
mikeday
We have now released Prince 9, which uses our new HTML5 parser with support for the new charset declaration syntax:
<meta charset="UTF-8">

(Although in this case it is unnecessary, as UTF-8 is the default encoding).