|
[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
Re: Symbol handling in XSLT
Subject: Re: Symbol handling in XSLT
From: Alex <alexscott@xxxxxxxxxxx>
Date: Fri, 26 Mar 2004 11:37:23 +0000
|
If I add to the XSL:
<xsl:output method="html" encoding="ISO-8859-1" />
It does not make any difference to the output.
The problem is happening further down the pipeline.
Possibly in the parser?
If I use Xalan to parse it I get:
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
If I use MSXML to parse it I get
<META http-equiv="Content-Type" content="text/html; charset=UTF-16">
I think that I need to change response.charset
I wonder if this is what has caused the erroneous ? marks.
Alex wrote:
Hi,
It is set to Western ISO.
Should the encoding be set in the XML or the XSL?
---
Alex
Robert Koberg wrote:
I forgot to mention that in Win IE you can right click on the page and
rollover the 'Encoding' menu item to see if the encoding matches what
you are trying to send.
On OSX Safari you can get the encoding from the bottom of the 'View'
menu.
Also forgot to say that the xsl:output has the encoding set to UTF-8.
best,
-Rob
Robert Koberg wrote:
Michael Kay wrote:
# # There is an actual '?' in the html source,
How do you know? Did you look at it with a hex editor? Or with some
other
piece of software that may or may not be displaying it correctly?
If you are using some webserver to send the rendering to the client,
you might want to check what it is sending. We are currently
experiencing a problem on a new server (Redhat 3.0 ES) that uses
Apache 2.0 with the directive DefaultCharset set to UTF-8; this is on
top of Caucho's Resin servlet container. I have set resin and the
serlvets to return UTF-8. When going straight to resin (i.e.
http://domain:8080/webapp) the characters display correctly, sending
UTF-8. When going first through Apache (i.e. http://domain/webapp)
the resulting charset in the browser is something other than UTF-8
(in IE it is similar to ISO-8859-1 'western-1252' if I remember
correctly).
don't know how to fix this...
best,
-Rob
Michael Kay

| Current Thread |
- RE: Symbol handling in XSLT, (continued)
- Jarno.Elovirta - Thu, 25 Mar 2004 07:46:38 -0500 (EST)
- Robert Koberg - Thu, 25 Mar 2004 09:57:36 -0500 (EST)
- Robert Koberg - Thu, 25 Mar 2004 10:03:19 -0500 (EST)
- Alex - Thu, 25 Mar 2004 10:46:02 -0500 (EST)
- Alex - Fri, 26 Mar 2004 06:41:08 -0500 (EST) <=
- Julian Reschke - Fri, 26 Mar 2004 07:49:01 -0500 (EST)
- Alex - Fri, 26 Mar 2004 08:14:19 -0500 (EST)
- Michael Kay - Fri, 26 Mar 2004 08:12:11 -0500 (EST)
- Alex - Thu, 25 Mar 2004 11:00:18 -0500 (EST)
|
|
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
| RSS 2.0 |
|
| Atom 0.3 |
|
|