Hi!
I am having a problem with dict(?!?)
the code starts with:
#!/usr/bin/env python
# -*- coding: utf-8 -*-
and the dict(?!?) is like this:
letters = {}
letters['1'] = ['', '.', ',', '?', '!', '1', '@', '-', '_', '(',
')', ':', ';', '&', '%', '*', '#', '+', '<', '=', '>', '$', '£', '§', '¥']
letters['2'] = ['', 'a', 'b', 'c', '2', 'å', u'ä']
etc.
and the appropriate char from that is written with:
self.message_buffer.set_text(updatedtext)
everything works perfectly until it is turn for ä to appear (to be written with
set text above). after that there is a error:
GtkWarning: gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len,
NULL)' failed
does anyone have an idea what I am doing wrong?
whole source can be found at gitorious if needed (except char ä etc)
http://gitorious.org/vertsms
any help is appreciated!
Ossipena / TimoP
_______________________________________________
maemo-developers mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-developers