discuss: conversion problem


Previous by date: 10 Dec 2004 22:48:06 -0000 Re: document metadata, G Ferguson / LDP
Next by date: 10 Dec 2004 22:48:06 -0000 web server configuration for DocBook, Emma Jane Hogbin
Previous in thread: 10 Dec 2004 22:48:06 -0000 Re: conversion problem, David Horton
Next in thread:

Subject: Re: conversion problem
From: Emma Jane Hogbin ####@####.####
Date: 10 Dec 2004 22:48:06 -0000
Message-Id: <20041210224825.GD6646@smeagol>

On Thu, Dec 09, 2004 at 08:02:10AM -0600, Machtelt Garrels wrote:
> I'm having a problem converting my DocBook sources to html: everywhere 
> these A's with a ^ are popping up.

I had a similar problem with this. I was able to fix the problem by
matching the character encoding of the original XML file to the character
encoding that is output by transformations. Hopefully this will help you 
as well.

In my XML document:
	<?xml version="1.0" encoding="UTF-8"?>

In docbook.xsl:
	<xsl:output method="xml" encoding="UTF-8" indent="no" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>

In chunker.xsl
	<xsl:param name="chunker.output.encoding" select="'UTF-8'"/>

In html2xhtml.xsl
	<xsl:attribute name="encoding">UTF-8</xsl:attribute>
	<xsl:attribute name="select">'UTF-8'</xsl:attribute>

In maketoc.xsl
	<xsl:output method="xml" indent="no" encoding="UTF-8" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>

In profile-docbook.xsl
	<xsl:output method="xml" encoding="UTF-8" indent="no" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>


-- 
Emma Jane Hogbin
The Linux Documentation Project
www.tldp.org

Previous by date: 10 Dec 2004 22:48:06 -0000 Re: document metadata, G Ferguson / LDP
Next by date: 10 Dec 2004 22:48:06 -0000 web server configuration for DocBook, Emma Jane Hogbin
Previous in thread: 10 Dec 2004 22:48:06 -0000 Re: conversion problem, David Horton
Next in thread:


  ©The Linux Documentation Project, 2014. Listserver maintained by dr Serge Victor on ibiblio.org servers. See current spam statz.