3739: Find duplicate people (error in soundex unicode)
svn: r14878
This commit is contained in:
parent
e2bb5062d1
commit
552f09ce07
@ -48,7 +48,7 @@ def soundex(strval):
|
||||
"Return the soundex value to a string argument."
|
||||
|
||||
strval = unicodedata.normalize('NFKD',
|
||||
strval.upper().strip()).encode('ASCII', 'ignore')
|
||||
unicode(strval.upper().strip())).encode('ASCII', 'ignore')
|
||||
if not strval:
|
||||
return "Z000"
|
||||
strval = strval.encode('iso-8859-1')
|
||||
|
Loading…
Reference in New Issue
Block a user