diff --git a/src/const.py.in b/src/const.py.in index 9f4839024..bc5f5150f 100644 --- a/src/const.py.in +++ b/src/const.py.in @@ -114,7 +114,12 @@ else: USER_HOME = os.environ['HOME'] HOME_DIR = os.path.join(USER_HOME, '.gramps') +# Conversion of USER_HOME to unicode was needed to have better +# support for non ASCII path names in Windows for the Gramps database. USER_HOME = unicode(USER_HOME, sys.getfilesystemencoding()) + +# Tried also coversion of HOME_DIR, but that caused a lot of problems +# in Windows. Leave it unconverted for now. #HOME_DIR = unicode(HOME_DIR, sys.getfilesystemencoding()) #-------------------------------------------------------------------------