7313: 'utf8' codec can't decode byte 0xa0 in position 6: invalid start byte
This commit is contained in:
parent
93e12bad2a
commit
f8059fd10c
@ -143,9 +143,14 @@ from gramps.gen.db.dbconst import EVENT_KEY
|
||||
from gramps.gui.dialog import WarningDialog
|
||||
from gramps.gen.lib.const import IDENTICAL, DIFFERENT
|
||||
from gramps.gen.lib import (StyledText, StyledTextTag, StyledTextTagType)
|
||||
from gramps.gen.constfunc import cuni, conv_to_unicode, STRTYPE, UNITYPE
|
||||
from gramps.gen.constfunc import cuni, conv_to_unicode, STRTYPE, UNITYPE, win
|
||||
from gramps.plugins.lib.libplaceimport import PlaceImport
|
||||
|
||||
# string.whitespace in some configuration is changed if it is imported
|
||||
# after setting locale (adding '0xa0')
|
||||
if win() and sys.version_info[0] < 3:
|
||||
string.whitespace = ' \t\n\r\v\f'
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# constants
|
||||
|
Loading…
Reference in New Issue
Block a user