diff options
| author | Neil Jerram <neil@ossau.homelinux.net> | 2014-11-21 01:48:26 +0000 |
|---|---|---|
| committer | Denis Kenzior <denkenz@gmail.com> | 2014-11-24 12:29:45 -0600 |
| commit | 19519b2132004fc875aedcd1033b16c15732cbc3 (patch) | |
| tree | b5f4c889f83ba537bb32819c39427237f408ad2b /src | |
| parent | 42ebb6938475b2db37d820a632d3f4414f790e0a (diff) | |
| download | ofono-19519b2132004fc875aedcd1033b16c15732cbc3.tar.bz2 | |
test: Support receiving SMS with non-ASCII chars
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)
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions