* src/plugins/ReadGedcom.py: removed unused variable
* src/latin_utf8.py: explicity state iso-8859-1 to unicode translation * src/gramps_main.py: handle clearing of tabs better, eliminating spurious tabs being added on a complete rebuild of the tabs. svn: r1782
This commit is contained in:
@@ -254,7 +254,6 @@ class GedcomParser:
|
||||
if self.window:
|
||||
self.update(self.file_obj,os.path.basename(file))
|
||||
|
||||
self.code = 0
|
||||
self.search_paths = []
|
||||
|
||||
try:
|
||||
@@ -1488,10 +1487,8 @@ class GedcomParser:
|
||||
self.broken_conc = self.gedsource.get_conc()
|
||||
elif matches[1] == "CHAR":
|
||||
if matches[2] == "UNICODE" or matches[2] == "UTF-8" or matches[2] == "UTF8":
|
||||
self.code = UNICODE
|
||||
self.cnv = nocnv
|
||||
elif matches[2] == "ANSEL":
|
||||
self.code = ANSEL
|
||||
self.cnv = ansel_to_utf8
|
||||
else:
|
||||
self.cnv = latin_utf8.latin_to_utf8
|
||||
|
Reference in New Issue
Block a user