Removed the 'replace' option on encoding. Caused exception

svn: r1166
This commit is contained in:
Don Allingham 2002-11-05 05:30:06 +00:00
parent 7036479568
commit 0bc6bba161

View File

@ -37,7 +37,7 @@ else:
def utf8_to_latin(s):
y = UTF8String(s)
try:
return y.encode("iso-8859-1",'replace')
return y.encode("iso-8859-1")
except:
return s