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 dfa1a99ba4
commit 1dab3b879e

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