From 74ba2a9f328bcbdfd618dfda349e1e22037ce758 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sat, 26 Jun 2010 18:33:23 -0400 Subject: [PATCH] Work around garbled utf-8 for Vallieres --- sitecore/prof/export_mysql.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sitecore/prof/export_mysql.py b/sitecore/prof/export_mysql.py index 973025a..c629c46 100644 --- a/sitecore/prof/export_mysql.py +++ b/sitecore/prof/export_mysql.py @@ -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'] -- 2.26.2