2 Replies Latest reply: Mar 8, 2007 2:13 PM by 796440 RSS

    How do I figure out if a String has any characters not belonging..?

    807606
      http://www.w3.org/TR/REC-xml/#charsets

      I'm trying to look for invalid characters in XML text. Based on this site, everything looks like it is in Hex? How can I given a String, figure out if any of these Hex values are in it???

      Also, I am currently replacing such characters like < with < so it can be displayed in the browser. If I find something invalid should I replace it or just remove it?