Better fix for quotes

This commit is contained in:
Tim Bentley 2009-07-02 20:10:14 +01:00
parent 3c71e91498
commit 2e818e8fd6

View File

@ -31,8 +31,7 @@ class Convert():
writefile = codecs.open(outname, 'w', encoding='utf-8')
for line in infile:
#replace the quotes with quotes
line, replace(u'\x93', "'")
line, replace(u'\x94', "'")
line, replace("''", "'")
writefile.write(line)
infile.close()
writefile.close()