From 552f09ce078257497366320dd9a90eaac0e7cd3b Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Sat, 20 Mar 2010 12:33:44 +0000 Subject: [PATCH] 3739: Find duplicate people (error in soundex unicode) svn: r14878 --- src/soundex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/soundex.py b/src/soundex.py index 19ee3f988..1322ccf6a 100644 --- a/src/soundex.py +++ b/src/soundex.py @@ -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')