[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook] invalid characters for ISO-8859-1 response
Hi Anthony, The special characters you are seeing are non-breaking spaces. As you discovered changing the input encoding has no effect on the output encoding, since they are independent of each other. Are you chunking your HTML output? If so, then changing the output encoding is easy. See this reference: http://www.sagehill.net/docbookxsl/Chunking.html#ChunkEncoding If you are using single-file HTML output, then you have to set the encoding attribute in an xsl:output element in your stylesheet customization layer to change the output encoding. Bob Stayton Sagehill Enterprises DocBook Consulting bobs@sagehill.net ----- Original Message ----- From: "Anthony Ettinger" <anthony@chovy.com> To: <docbook@lists.oasis-open.org> Sent: Tuesday, October 30, 2007 12:49 PM Subject: [docbook] invalid characters for ISO-8859-1 response > If I do the docbook -> xhtml transformation (v 4.4) I get invalid > characters for the chapter numbers in the output. If I change the > character encoding in the browser view from ISO-8859-1 to UTF-8 they > look ok. > > I have to use ISO-8859-1 for now, because that's what the server sends > the response as...also, I'm unclear why there are special characters > at all in the output just to display chapter numbers: > > output: > <h2 class="title"><a id="reports"></a>Chapter?| 3.?| Reports</h2> > > Note the "Chapter?|3.?|Reports" (this is from vim when I view the > source directly, I get the "A-hat" character when viewing source in > the browser. > > How should I fix this problem, all I really need is a space..no > special character to represent "Chapter 3. Reports" should be needed > here. > > I tried changing the xml charset in the xml declaration, but that > didn't do anything. > > -- > Anthony Ettinger > Ph: 408-656-2473 > var (bonita, farley) = new Dog; > farley.barks("very loud"); > bonita.barks("at strangers"); > > http://chovy.dyndns.org/resume/ > http://utuxia.com/consulting > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docbook-unsubscribe@lists.oasis-open.org > For additional commands, e-mail: docbook-help@lists.oasis-open.org > > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]