Ignore control characters on import
svn: r742
This commit is contained in:
parent
d6f1a8b1c5
commit
548d8903f5
@ -80,7 +80,10 @@ def ansel_to_latin(s):
|
||||
buff = cStringIO.StringIO()
|
||||
while s:
|
||||
c0 = ord(s[0])
|
||||
if c0 > 127:
|
||||
if c0 <= 31:
|
||||
head = ' '
|
||||
s = s[1:]
|
||||
elif c0 > 127:
|
||||
try:
|
||||
if c0 >= 0xE0:
|
||||
c1 = ord(s[1])
|
||||
|
Loading…
Reference in New Issue
Block a user