1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XML Gurus

Discussion in 'Off Topic' started by James, Jun 16, 2011.

  1. James

    James Well-Known Member

    I've just downloaded a bunch of text messages from Bluebook (o2's service) and the XML file won't parse due to there being "not well-formed" characters, such as the £ sign. The codes in question are things such as x8D

    There are thousands upon thousands of these characters and it'd take forever to manually go through and delete these characters. Is there a format I can use for encoding that will allow these characters?

    XML declaration line 1:
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    Apparently UTF-8 isn't allowing these characters to be used.
     
  2. Kier

    Kier XenForo Developer Staff Member

    ISO-8859-1 or Windows-1252 would probably work.
     
  3. James

    James Well-Known Member

    I tried changing the charset, it didn't work for some very very strange reason. I also noticed it was mostly accented characters (such as áéíóú) that came up in that format. In the end I just went through and deleted/changed the characters.

    Thanks Kier.
     

Share This Page