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

Re: output encoding="iso-8859-1"

Subject: Re: output encoding="iso-8859-1"
From: "Michael Beddow" <mbnospam@xxxxxxxxxxx>
Date: Sun, 3 Jun 2001 14:46:51 +0100
encoding iso 8859 1 xsl
Daniel,

To sort out this minefield you need to take a good look at Mike Brown's
explanation of encoding issues at

http://skew.org/xml/tutorial/

then maybe check out how that theory matches dreadful browser realities
via Alan Wood's

http://www.hclrss.demon.co.uk/unicode/

Also, your mention of "copying and pasting from a Unicode font in
Microsoft Word" suggests you may need to find out more about another
chamber of horrors: the way that Win9X/ME on the one hand and NT4/W2K
internally represent unicode characters and handle their transfer via
the clipboard and COM in very different ways, even when running
identical applications with identical fonts. Sorry, but I don't know a
handy single site for that info (tho' its splattered all over various
bits of the MSDN site and CD's)

Michael
-------------------------------------------------
Michael Beddow
http://www.mbeddow.net/
----- Original Message -----
From: "Daniel Florian" <DFlorian@xxxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Saturday, June 02, 2001 10:46 PM
Subject: RE:  output encoding="iso-8859-1"


> Thanks Paul,
>
> But I'm not sure I hear what you're saying - if I generated the
characters
> by copying and pasting from a Unicode font in Microsoft Word where did
this
> go wrong?
>
> Is the only proper way to refer to characters in utf-8 as the
character
> references?
>
> Thanks,
> Dan
>
> -----Original Message-----
> From: Clapham, Paul [mailto:pclapham@xxxxxxxxxxxxx]
> Sent: Saturday, June 02, 2001 4:43 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE:  output encoding="iso-8859-1"
>
>
> You declared the encoding of your input XML to be utf-8, but it
actually
> isn't -- at least, not if you planned to put the two characters "á"
and "°"
> in it.  Try declaring it as ISO-8859-1.
>
> PC2
>
> -----Original Message-----
> From: Daniel Florian [mailto:DFlorian@xxxxxxxxxxxxx]
> Sent: June 1, 2001 21:35
> To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
> Subject:  output encoding="iso-8859-1"
>
>
> Hi All,
>
> Another encoding question.  My apologies, but the other threads didn't
help
> me.  I am transforming this xml: ( The special characters are an a
with an
> accent and then the degree sign )
>
> <?xml version="1.0" encoding="utf-8"?>
> <?xml-stylesheet type="text/xsl" href="Untitled2.xsl"?>
> <start>
> á °
> </start>
>
> with this xsl:
> <?xml version="1.0" encoding="UTF-8"?>
> <xsl:stylesheet version="1.0"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> xmlns:fo="http://www.w3.org/1999/XSL/Format">
> <xsl:output method="html" encoding="iso-8859-1"/>
> <xsl:template match="start">
>         <xsl:value-of select=".">
>         </xsl:value-of>
> </xsl:template>
> </xsl:stylesheet>
>
> and I get:
> &#6192;
>
> What character reference is the &#6192?  This is supposed to be
ISO-8859-1
> isn't it?  Then how come I can't seem to find the character code for
6192
> decimal?  And also, what happened to the 2 distinct characters from
the
> source xml?
>
> Any help is much appreciated,
> Thanks,
> Dan
> __________________________________________________________
> Daniel Florian
> Technical Architect
> F o r t   P o i n t   P a r t n e r s   I n c .
>
> Builders of Internet Solutions that Sell Harder
> 162 5th Ave., 8th Floor, New York NY  10010
> tel   (917) 210-9477
> cell  (917) 940-9780    dflorian@xxxxxxxxxxxxx
> fax   (917) 210-9499    http://www.fortpoint.com
>
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>
>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.