updating xml with special characters

  • Hi All,

    i want to modify an data of xml data type,so i am using

    DECLARE @xml XML

    SET @xml = '<root></root>'

    SET @xml.modify('insert <a>Szövlő</a> into (/root)[1]')

    SELECT @xml

    but the problem is "ő" is not getting stored as it is instead it is getting stored as "o"

    please help me out in this

  • Duplicate post. No replies to this thread please. Direct replies to:http://www.sqlservercentral.com/Forums/Topic934389-145-1.aspx

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply