Tech Off Thread

3 posts

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

Dumb xml quote question

Back to Forum: Tech Off
  • User profile image
    UlsterFry

    Umm this probably seems a bit silly but I'm at a blank here.. 

    When I create a CreateCDataSection for a node and pass in some html with the markup for single left or right quotes (‘ ’) the quotes are saved in the xml as : ‘ and ’

    XML file is in utf-8, is this just the utf encoding?

  • User profile image
    Maurits

    Yup.  Does your editor support utf-8?  Try looking at it in another editor, preferably one where you can set the encoding used to display the file.

    It looks like your editor is missing the UTF-8 encoding and just displaying the raw bytes in your default code page.

  • User profile image
    UlsterFry

    Maurits wrote:
    Does your editor support utf-8?
    It looks like your editor is missing the UTF-8 encoding and just displaying the raw bytes in your default code page.


    The editor in question is the xml viewer in VS2003 Big Smile  (and context too)

    I'm assuming I don't have anything to worry about then?

    Thx for the help Smiley

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.