i'm trying to write a simple script that would parse XML files.
the main thing i'm trying to do is just replace some of the characters in the file with others.
one of the characters i need to deal with is this one: ³
i used "coding: cp1255" in my program (using python 2.6 btw, not sure why).
anyway, i tried to delete every ³ character on the XML file, and writing the result to a new file.
my problem is this: when trying to open the new XML file after the parsing and without the "³" characters, windows tells me there's a problem with the file, and doesn't recognize it as a valid XML file.
although, when opening it as a .txt file, the only difference from the original file, is that every ³ was deleted.
i replace some other characters as well, but when the original file doesn't contain any "³", it actually works just fine. something about that weird character messes things up with the xml file, but i have no idea what's the problem.
i hope i was clear enough, and thanks in advance for any help =)