Subject: RE: [xsl] non-breaking white space coming out incorrectly From: "Clapham, Paul" <pclapham@xxxxxxxxxxxxx> Date: Wed, 25 Jul 2001 11:37:31 -0700 |
If you are going to be working with XML you need to get your head high enough to understand about UTF-8 and Unicode. Sorry, I don't mean to be impolite, but the default character encoding for XML files is UTF-8, and that's what you are getting. Most XSLT processors will output " " as " " or even " " if you use the HTML output method (are you?), but perhaps Sablotron is different. Try specifying an output encoding such as ISO-8859-1 in your xsl:output element. PC2 -----Original Message----- From: flourish [mailto:msmith@xxxxxxxx] Sent: July 25, 2001 10:59 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: [xsl] non-breaking white space coming out incorrectly > > I'm trying to use a non-breaking white space in XSLT, so I use the > > unicode  . This has worked for me in the past with > > sablortron, but in > > this instance sablotron is outputting " ". The space is > > there, but before > > it there is the  (don't know its name). Any ideas on what's > > going on? > > You're looking at a UTF-8 file using an editor that doesn't understand > UTF-8. I'm afraid you're speaking over my head, and I'm afraid the answer doesn't really make proper light of the problem anyways. Let me elaborate. I'm using XSLT to transform XML into HTML. My XSLT uses the unicode  . The resultant HTML contains the string " " in it's place. I'm viewing the resultant HTML in both editpad (a text editor) and IE5.5. Thanks again. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] non-breaking white space , flourish | Thread | RE: [xsl] non-breaking white space , Armin Fabritius |
[xsl] Deep copy that excludes the e, Jason Macki | Date | RE: [xsl] Tokenized values, Michael Brennan |
Month |