This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: XSL > XSL trans. and Characher Encoding


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 
&#160 ?
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]