Re: [docbook-apps] smart quotes are acting stupid in Firefox & IE; why?

From
Stefan Knorr <>
Date
2013-10-28T11:37:17+00:00
ID
[email protected]
Thread
Re: [docbook-apps] smart quotes are acting stupid in Firefox & IE; why?
Hi Robert,

On Fr, 2013-10-25 at 22:23 -0500, Robert Nagle wrote:
> As you know, MS Word automatically changes quotes to smart quotes and so my
> docbook source in Oxygen editor includes smart quotes and not normal
> quotes.

I think the best way to generate quotes in DocBook is using the <quote>
element -- that way you get whatever quotes are most appropriate for the
target language automatically in your output.


(generously snipped...)
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
v/ 
> <meta http-equiv="Content-Type"
> content="text/html; charset=UTF-8" />

It's not really the same -- your Wordpress instance uses the meta
element while your DocBook processor writes it in the XML declaration.
Seeing as only one of the two works, browsers probably need the the meta
element version.

Stefan.


-- 
SUSE LINUX GmbH, Maxfeldstraße 5, D-90409 Nürnberg
Geschäftsführer: Jeff Hawn, Jennifer Guild, Felix Imendörffer
HRB 21284 (AG Nürnberg)