7851: translations don't show in many labels

Ensure python text domain gets the right encoding.
This commit is contained in:
John Ralls 2014-06-23 20:16:56 -07:00
parent 89b923d1ab
commit 65dbb1bd46

View File

@ -481,7 +481,8 @@ class GrampsLocale(object):
if not sys.platform == 'win32':
locale.bindtextdomain(self.localedomain, self.localedir)
else:
self._win_bindtextdomain(self.localedomain, self.localedir)
self._win_bindtextdomain(self.localedomain,
self.localedir.encode('utf-8'))
def _init_secondary_locale(self):
"""