Added some comments to explain unicode path conversion.

svn: r14422
This commit is contained in:
Peter Landgren 2010-02-21 12:19:51 +00:00
parent f71666dab7
commit b579fb9918

View File

@ -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())
#-------------------------------------------------------------------------