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

RE: Using accented characters in XML

Subject: RE: Using accented characters in XML
From: Mike McGraw <mmcgraw@xxxxxxx>
Date: Fri, 18 May 2001 15:36:46 -0400
using accented characters in xml
The output was "&Eacute;ditez un admin"

> -----Original Message-----
> From: Alex Black [mailto:enigma@xxxxxxxxxxxxxxxx]
> Sent: Friday, May 18, 2001 3:27 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re:  Using accented characters in XML
> 
> 
> > To answer the original question, it is an encoding issue 
> that will be solved
> > if he makes sure that his XML document properly declares its actual
> > encoding. I think he's leaving off the encoding declaration 
> and it is
> > defaulting to UTF-8, when in fact the file is iso-8859-1 
> encoded. As the
> > bytes for Éditez are read in, this is what happens:
> 
> Am I correct in assuming that were he to include that 
> encoding declaration,
> along with the accented É - the xslt processor would not have 
> a problem, but
> the _output_ would still contain the original character, 
> _not_ its encoded
> counterpart?
> 
> i.e. if he were going to html, it would look like this:
> <b>Éditez</b> (which isn't correct)
> 
> not
> 
> <b>&#201;ditez</b>
> or
> <b>&Eacute;ditez</b>
> 
> The last two being synonymous assuming you're using an html dtd, and
> correct.
> 
> ?
> 
> _alex
> 
> 
>  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.