You are not logged in.
Hi, I experience a strange problem with purple-remote (program which allow to control Pidgin via D-Bus) :
To get the current status message, you have to type
$ purple-remote getstatusmessage
This works, but when I type
$ echo $(purple-remote getstatusmessage)
this fails with the error
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)
Why?
How can this program work in the first case but not in the second?
Thank you
Edit: BTW, is there a workaround to put the output of `purple-remote getstatusmessage' in a variable? $(), redirections and piping doesn't work.
Fractal
Last edited by Fractal (2010-04-04 12:09:56)
English is not my native language, so fell free to correct my mistakes.
Offline