[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Global parameters with UTF-8 characters and ???s

Subject: RE: Global parameters with UTF-8 characters and ???s
From: "David Nesbitt" <dnesbitt@xxxxxxxxxxxxxxxxx>
Date: Wed, 2 Aug 2006 11:51:45 -0700
david nesbitt

I am seeing question marks in both IE 6.0sp2 and FireFox


-----Original Message-----
From: Steve [mailto:subsume@xxxxxxxxx]
Sent: Wednesday, August 02, 2006 11:17 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  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?


On 8/2/06, David Nesbitt <dnesbitt@xxxxxxxxxxxxxxxxx> wrote:
> I am having problems with global parameters which have UTF-8
> in them.  They show up as question marks when I use their values in
> 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

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.