Steve,
I am seeing question marks in both IE 6.0sp2 and FireFox 1.5.0.5
browsers.
Regards,
Dave
-----Original Message-----
From: Steve [mailto:subsume(_at_)gmail(_dot_)com]
Sent: Wednesday, August 02, 2006 11:17 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Global parameters with UTF-8 characters and ???s
I'm guessing you mean they show up in the browser as question marks.
Is this consistent across browsers?
-S
On 8/2/06, David Nesbitt <dnesbitt(_at_)vuetechnology(_dot_)com> wrote:
I am having problems with global parameters which have UTF-8
characters
in them. They show up as question marks when I use their values in
the
output (e.g. <xsl:value-of select="$global-parameter"/>).
I am using JAXP (with Xalan 2.6 as the underlying XSLT engine) from a
JSP page to generate HTML.
My JSP page has the following setting for UTF-8:
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
My XSLT stylesheet has the following XML declaration:
<?xml version="1.0" encoding="UTF-8"?>
And the stylesheet also has the following output element:
<xsl:output method="html" indent="yes" encoding="UTF-8"/>
I am using the following Java code to set the global parameters:
transformer.setParameter(key, resourceBundle.getString(key));
So I think I am setting everything up properly for UTF-8. Is there
anything I am doing wrong that is causing these characters to be shown
as question marks?
Thanks in advance for any help.
Regards,
Dave
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--