This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: XSL > XSL trans. and Characher Encoding
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] XSL > XSL trans. and Characher Encoding
- From: "L Rutker" <lrutker at hotmail dot com>
- Date: Tue, 16 Oct 2001 16:46:20 -0400
- Reply-To: xsl-list at lists dot mulberrytech dot com
I have read the FAQ yet I still do not understand.
please explain to me why I do not get a nbsp charachter when my XSL has
  ?
Unless I write the output of the transform setting the encoding of my
OutputStream to "ISO-8859-1" as below I do not get the result I want.
How can I do this with UTF-8 and get the results that I want?
What am I doing wrong?
Thanks
Lou
FileOutputStream fos= new FileOutputStream
(new File ("c:\\test\\output.html") );
OutputStreamWriter osw = new OutputStreamWriter(fos, "ISO-8859-1");
>From: "Michael Beddow" <mbnospam@mbeddow.net>
>Reply-To: xsl-list@lists.mulberrytech.com
>To: <xsl-list@lists.mulberrytech.com>
>Subject: Re: [xsl] XSL > XSL trans. and Characher Encoding
>Date: Tue, 16 Oct 2001 16:55:27 +0100
>
>On Tuesday, October 16, 2001 4:12 PM
>L Rutker wrote:
>
>[snip]
>
> > I initially did not use any encoding
>
>Oh, but you did. "No" encoding = default encoding = utf8
>
> > The UTF-8 encoding I use
> > below prevented the error but led to the funny  character.
>
>Please read the FAQ to discover why this "character" isn't "funny" at
>all
>Everything you need to understand what's happening is there.
>
>Michael
>---------------------------------------------------------
>Michael Beddow http://www.mbeddow.net/
>XML and the Humanities page: http://xml.lexilog.org.uk/
>The Anglo-Norman Dictionary http://anglo-norman.net/
>---------------------------------------------------------
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list