diff options
Diffstat (limited to 'kexi/plugins/scripting/scripts/importxhtml/ImportXHTML.py')
-rwxr-xr-x | kexi/plugins/scripting/scripts/importxhtml/ImportXHTML.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kexi/plugins/scripting/scripts/importxhtml/ImportXHTML.py b/kexi/plugins/scripting/scripts/importxhtml/ImportXHTML.py index 200b3dee..6ca94f9a 100755 --- a/kexi/plugins/scripting/scripts/importxhtml/ImportXHTML.py +++ b/kexi/plugins/scripting/scripts/importxhtml/ImportXHTML.py @@ -124,9 +124,9 @@ class SaxInput: was parsed. """ if self.field != None: - # the xml-data is unicode and we need to encode it + # the xml-data is tqunicode and we need to encode it # to latin-1 cause KexiDB deals only with latin-1. - u = unicode(chars[offset:offset+length]) + u = tqunicode(chars[offset:offset+length]) self.field.append(u.encode("latin-1")) # start the job |