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

AW: AW: Problem parsing cp1252 with msxsl > UTF-8 ?

Subject: AW: AW: Problem parsing cp1252 with msxsl > UTF-8 ?
From: "Braumüller, Hans" <h.braumueller@xxxxxxxxxxxx>
Date: Fri, 14 Jun 2002 11:11:30 +0200
AW: AW:  Problem parsing cp1252 with msxsl > UTF-8 ?
Hi,

great, now i understand. So i must get an enabled UTF-8 text-editor, i am
using homesite and sometimes ultraedit. It seems that they have no UTF-8
support.

Do you know one?

Thanks,

Hans Braumüller 


> Any time you save a text file or transmit it over a network, 
> you have a series
> of bytes representing the characters in the document. The 
> encoding is how
> those bytes map to characters.
> 
> UTF-8 maps all 1.1 million Unicode characters to a series of 
> 1 to 4 bytes per
> character. You certainly do have those German characters 
> available in utf-8,
> but instead of being mapped to 1 byte each, as they would be 
> in iso-8859-1,
> they are mapped to 2 bytes each.
> 
> A text editor that doesn't tell you what encoding it is using 
> when you save
> the document is probably relying on the underlying OS to make
> encoding/decoding decisions, and it probably isn't using 
> Unicode internally at
> all; rather it just manages buffers of bytes fed to it by the 
> OS. Solution: 
> get a smarter text editor that lets you choose the encoding 
> to save files 
> with.
> 
> The encoding declaration in an XML document is a reflection 
> of the actual
> encoding used *throughout* file. You must not save a file with all the
> characters encoded as iso-8859-1 bytes, while having 
> encoding="utf-8" in the
> file, for example. You must also avoid mixing encodings in 
> the same file (some 
> characters using one encoding, some using another).
> 
>    - Mike
> ______________________________________________________________
> ______________
>   mike j. brown                   |  xml/xslt: http://skew.org/xml/
>   denver/boulder, colorado, usa   |  resume: 
> http://skew.org/~mike/resume/
> 
>  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.