Environment
GroupWise Mobility Service 2014 R2
Situation
Sending an email from a mobile device when the email contains an attachment that has Chinese characters in the file name fails.
The following error is seen in the mobility-agent.log file in DEBUG mode:
2018-05-21 18:07:54.516 ERROR [Device_Thread-23] [sendMail:1251] [userID:cn=xxx,ou=xxx,ou=xxx,o=xxx] [eventID:] [objectID:] [Mail] Exception 'ascii' codec can't decode byte 0xe5 in position 0: ordinal not in range(128)
Traceback (most recent call last):
File "./mobility/lib/device/sendMail.py", line 1177, in _sendMail
File "./mobility/lib/mobility_util.py", line 1914, in reconstructMimeFile
File "./mobility/lib/mobility_util.py", line 1956, in filenamesMatch
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 0: ordinal not in range(128)
Traceback (most recent call last):
File "./mobility/lib/device/sendMail.py", line 1177, in _sendMail
File "./mobility/lib/mobility_util.py", line 1914, in reconstructMimeFile
File "./mobility/lib/mobility_util.py", line 1956, in filenamesMatch
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 0: ordinal not in range(128)
Resolution
This has been resolved by engineering. The fix may be obtained by opening a service request with technical support.