From d4adeacaa4003b2c08bdcc31cff3d7cdb8d831d0 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Sat, 20 Mar 2010 12:41:37 +0000 Subject: [PATCH] 3739: Find duplicate people (error in soundex unicode) svn: r14879 --- src/soundex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/soundex.py b/src/soundex.py index 753db1b44..e7d9c3556 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" str2 = strval[0]