[Pidgin] #12049: No encoding declared in purple-remote

Pidgin trac at pidgin.im
Sun May 30 06:39:55 EDT 2010


#12049: No encoding declared in purple-remote
--------------------+-------------------------------------------------------
Reporter:  Fractal  |        Type:  patch                 
  Status:  new      |   Component:  libpurple             
 Version:  2.7.0    |    Keywords:  purple-remote encoding
--------------------+-------------------------------------------------------
 Hi, I have non ASCII characters in my status message, and there is a
 little problem with purple-remote:


 {{{
 $ purple-remote getstatusmessage
 Mieux vaut régner en enfer que servir au paradis
 $ echo $(purple-remote getstatusmessage)
 Traceback (most recent call last):
   File "/usr/bin/purple-remote", line 238, in <module>
     print output
 UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in
 position 12: ordinal not in range(128)
 }}}


 The attached patch fixes this (this is a patch against /usr/bin/purple-
 remote, I hope this is OK)
 [[BR]]
 [[BR]]


 Guillaume Brunerie

-- 
Ticket URL: <http://developer.pidgin.im/ticket/12049>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list