Closed paymanzafar closed 5 years ago
Hi @paymanzafar can you share the Persian text you use for testing?
Hi dcai, Here it is: نسخه جدید نرم افزار مگ آموز برای سیستم اندروید آماده نصب است. لطفا به آدرس زیر مراجعه نمایید:
@paymanzafar thank you, I will find some time this week to get this resolved.
@paymanzafar I have pushed a fix to 1.x branch, can you update the code and try again?
Hi dcai, Thank you very much for your time, but as I explained in the first comment, this problem is in fcm branch. I have already used version 1.x, and there was no problem with GCM notifications.
I have installed the fcm branch, and it can not send Persian characters with FCM, but it can send with GCM. I added the following code to airnotifier.py, and now it can send some Persian texts, but not all.
import sys reload(sys) sys.setdefaultencoding('utf8')