none
XML parsing: line 1, character 38, unable to switch the encoding

Answers

  • I'm sure this is a bug, if this is a blocking issue in production, please open a support case with MS.

    Sunday, January 13, 2008 1:48 AM
    Moderator

All replies

  • Hey,

    very sorry that the page crashed while submitting... The details are below.

     

    I have a merge replication set up with 100s of subscribers sending data to a publisher (only one way, think publisher as a repository, exchangetype is 1). Subscribers are of sql server 2000 and publisher is 2005.

     

    Now, i have an article of which the datatype of one column is ntext at subscriber and xml at publisher. i am getting the error message "XML parsing: line 1, character 38, unable to switch the encoding", while sending the data to the publisher.

     

    Can anyone help me on this???

     

    Ciju

    Wednesday, December 05, 2007 12:53 PM
  • does anyone have idea abt this issue???

     

    Regards,

    Ciju

     

    Thursday, December 06, 2007 5:29 AM
  • I'm sure this is a bug, if this is a blocking issue in production, please open a support case with MS.

    Sunday, January 13, 2008 1:48 AM
    Moderator
  • Use

    <?xml version="1.0" encoding="UTF-16"?>

    Instead of 

    <?xml version="1.0" encoding="UTF-8"?>

     

    • Proposed as answer by triptyx Friday, September 04, 2009 5:20 PM
    Thursday, February 14, 2008 1:08 AM
  • Thanks Sreed, that helped me.
    Friday, September 04, 2009 5:19 PM
  • Thanks it works for me also
    Friday, March 30, 2012 11:12 AM
  • Worked the other way around for me, I had to switch to 8 from 16
    Friday, August 17, 2012 3:37 AM