Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: UTF-8 & Unicode

From: richard@------.--.--.-- (------- -----)
To: NULL
Date: 2/2/2005 5:16:00 PM
In article <Pt7Md.456$al3.208@n...>,
EU citizen <noaddress@f...> wrote:
>Through experimentation with the W3C HTML vakidator, I've worked
>out that iso-8859-1will work for Notepad files with standard english text
>plus acute accented vowels.

Beware that Microsoft uses some proprietary encodings that are ISO-8859-1
for characters A0-FF, but use the C1 controls (81-9F) for other purposes.
If you don't use any of those (and the Euro symbol is quite likely one
of them) you should be OK.

>The need for the XML encoding  statement to match the original file format
>was not mentioned in any of the (many) articles I've read on XM:/XHTML over
>the last *four* years.

In most circumstances UTF-8 is the default encoding for XML if there
is no encoding declaration.  In theory for text/* served by HTTP,
8859-1 is (or was - they may have changed it) the default.  But if you
stick to ascii, it won't matter.  And remember that you *can* stick to
ASCII and use character references (such as &#xa3;) or entity
references (if you declare them in your DTD) for all non-ascii
characters.

-- Richard


transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent