From: W. Trevor King Date: Thu, 1 Jul 2010 04:32:50 +0000 (-0400) Subject: Replace è with e, since SiteCore doesn't like UTF-8 in Vallières X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f9f01d39a0a87e954c7c0b6710005e69fe53f82b;p=sitecorepy.git Replace è with e, since SiteCore doesn't like UTF-8 in Vallières --- diff --git a/sitecore/prof/import.py b/sitecore/prof/import.py index 023a45d..3a6513c 100644 --- a/sitecore/prof/import.py +++ b/sitecore/prof/import.py @@ -74,7 +74,7 @@ class ProfessorAdder (object): def __call__(self, prof): name = ('%s %s' % (prof.name.first_middle, prof.name.last)).replace( - '.', '') + '.', '').replace(u'\xe8', 'e') self.create_prof_page(name) self.lock_section(name) settings = [