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

Re: Output: XML to XML scrambling unicode characters

Subject: Re: Output: XML to XML scrambling unicode characters
From: Mike Ferrando <mikeferrando@xxxxxxxxx>
Date: Mon, 4 Mar 2002 11:17:22 -0800 (PST)
utf 8 eacute
--- David Carlisle <davidc@xxxxxxxxx> wrote:
>  For example: I know that the "& eacute;"
>  in utf-8 should be "& #233;"
> 
> No, that isn't the utf-8 encoding for e acute it is an XMl numeric
> character reference. the XML is written in ascii (and so in utf8 or
> latin1). However to write an eacute in utf8 takes two bytes "Ã ©"
> Just as to write it in latin1 takes 1 byte é.

Dear David,
I appreciate your willingness to "suffer fools gladly". Please bear
with me at I attempt to state this again.

The real issue is that I need to see "& #233;" in order to work with
these extended characters (seeing as some documents have all kinds of
scripts generated by local word processor fonts) to work with them
and know they are correct in text editor (Note Tab Pro).

However, I did refer to "& #233;" as utf-8. I would not have ventured
such a statement without some reason. Michael Kay's book has a table
in section three under Style Sheet Structure (p. 129, first edition).
I will attempt to reproduce it here.

     Character          Unicode Symbol
       tab                  #x9
       newline              #xA
       Carriage return      #xD
       space                #x20

If I use these symbols, I must add "&" before and ";" after. It was
my assumption that "& #233;" was not any different than these. This
is the reason why I called "& #233; a utf-8 rendering of "e acute".

My conclusion, is that I can search/replace and manipulate these
symbols, what I receive in my XML to XML utf-8 transformation I
cannot niether through my keyboard nor through my text editor. It is
my problem, I know, but I wanted to express it.

Thanks for your help and information.
Mike F.


__________________________________________________
Do You Yahoo!?
Yahoo! Sports - sign up for Fantasy Baseball
http://sports.yahoo.com

 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.