You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many phones use surrogates to encode higher plane unicode chars and this gets passed through Gammu and python-gammu to Python unicode string. The problem is that these are not allowed there, do doing something with such string ends up in:
UnicodeEncodeError: 'utf-8' codec can't encode character '\ud800' in position 10316: surrogates not allowed
There has to be some bug in the surrogate conversion code:
Many phones use surrogates to encode higher plane unicode chars and this gets passed through Gammu and python-gammu to Python unicode string. The problem is that these are not allowed there, do doing something with such string ends up in:
There has to be some bug in the surrogate conversion code:
python-gammu/gammu/src/convertors/string.c
Lines 121 to 136 in 86a497c
Or there is other way this can slip through. I've seen this in
Text
as returned byDecodePDU
.The text was updated successfully, but these errors were encountered: