3739: Find duplicate people (error in soundex unicode)
svn: r14878
This commit is contained in:
		| @@ -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') | ||||
|   | ||||
		Reference in New Issue
	
	Block a user