Work around garbled utf-8 for Vallieres
authorW. Trevor King <wking@drexel.edu>
Sat, 26 Jun 2010 22:33:23 +0000 (18:33 -0400)
committerW. Trevor King <wking@drexel.edu>
Sat, 26 Jun 2010 22:33:23 +0000 (18:33 -0400)
sitecore/prof/export_mysql.py

index 973025adcde11988dd7c9544320ea06f8e45b4f2..c629c46e861a59952e9cc2006a6697d1119b1872 100644 (file)
@@ -169,6 +169,8 @@ Where the relevant categories are
                 first_middle=prof['firstname'],
                 last=prof['lastname'],
                 )
+            if p.name.last.encode('hex') == '56616c6c69e8726573':
+                p.name.last = u'Valli\xe8res'
             p.title = prof['position']
             if prof['position1'] != None:
                 p.title += ', %s' % prof['position1']