2007-01-08 Don Allingham <don@gramps-project.org>
* src/ansel_utf8.py (utf8_to_ansel): handle single character indexes as a fallback. (bug #779) * src/StartupDialog.py: removed - no longer used * src/Makefile.am: remove StartupDialog.py installation * po/POTFILES.in: removed StartupDialog.py svn: r7882
This commit is contained in:
@@ -317,8 +317,12 @@ def utf8_to_ansel(s):
|
||||
head = _utoa[s[0:2]]
|
||||
s = s[2:]
|
||||
except:
|
||||
head = '?'
|
||||
s = s[1:]
|
||||
try:
|
||||
head = _utoa[s[0:1]]
|
||||
s = s[1:]
|
||||
except:
|
||||
head = '?'
|
||||
s = s[1:]
|
||||
elif c0 > 127:
|
||||
try:
|
||||
head = _utoa[s[0:1]]
|
||||
|
||||
Reference in New Issue
Block a user