Hi Neil,

On 11/20/2014 07:48 PM, Neil Jerram wrote:
Without this I get the following Python traceback, for an SMS that
contains the UK pound sign.

ERROR:dbus.connection:Exception in handler for D-Bus signal:
Traceback (most recent call last):
   File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 230, in 
maybe_handle_message
     self._handler(*args, **kwargs)
   File "./receive-sms", line 9, in incoming_message
     print("%s" % (message))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xa3' in position 
51: ordinal not in range(128)
---
  test/receive-sms | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

Patch has been applied, thanks.

Regards,
-Denis

_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono

Reply via email to