Much appreciated Drew. Dino
-----Original Message----- From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of Marsh, Drew Sent: Saturday, 4 May 2002 10:46 To: [EMAIL PROTECTED] Subject: Re: [DOTNET] UTF-8 Problems with XML Dean Cleaver [mailto:[EMAIL PROTECTED]] wrote: > Are these control characters standard, or is this a bug? Standard in unicode, but not necessarily processed correctly by all applications. It's called a byte-order mark(BOM). To get rid of it, construct an instance of UTF8Encoding passing false to the constructor. IIRC, the static instance in the Encoding::UTF8 property includes the BOM, so you can't use it. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.351 / Virus Database: 197 - Release Date: 19/04/2002 You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.