OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] UTF-8 use with XML

[ Lists Home | Date Index | Thread Index ]

Long, Craig Z wrote:
> Thanks Tim,
> 
> Here is the hex for <BirthCity>K?/BirthCity>: 
> 
> 3C 42 69 72 74 68 43 69  74 79 3E 4B EF BF BD 2F 42 69 72 74 68 43 69 74 79
> 3E

Which is to say <BirthCity>K&#xfffd;/Birthcity>

U+FFFD is REPLACEMENT CHARACTER which is a legal XML character, but 
almost certainly not what you mean.  So this is legal UTF-8 but it's not 
XML, somehow you lost your '<'. -Tim





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS