Have you run decode
on the unpickled string using the correct encoding ("cp1251" by the look of it)? If not, you need to do this to make sure you're passing a Unicode string to the GUI.
Vinay Sajip
2009-09-17 10:12:13