4IceG / luci-app-sms-tool

Simple user interface to handle SMS / USSD / AT commands via sms_tool application. | OpenWrt =< 19.07
GNU General Public License v3.0
122 stars 37 forks source link

Weird character encoding issue #28

Open dracula99gr opened 3 months ago

dracula99gr commented 3 months ago

If I send SMS on my router using unicode encoding it's mostly fine, but on most devices that setting is set to gsm encoding by default and the SMS I receive by others/by my ISP can not be understood...

23:52 Unicode 23:55 GSM alphabet

(greek chars) message: αβγδεζηθικλμνξοπρστυφχψω ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ «» ;: ςάέίϊΐόύϋΰ

Screenshot_20240614-235824_Messages Screenshot_20240614-235929_Chrome

However from the other side they don't seem to work at all when sending the same message from router to my phone regardless of that setting Screenshot_20240615-000718_Messages 20240615_001015

4IceG commented 3 months ago

Hi @dracula99gr , Take a look at this topic https://github.com/4IceG/luci-app-sms-tool/issues/27, because I see that it is the same case.

dracula99gr commented 3 months ago

Hello @4IceG! True for the outgoing SMS but what about the incoming SMS when GSM alphabet is used by the senders?

4IceG commented 3 months ago

@dracula99gr I don't have answer to your question, maybe Cezary @obsy will be able to say something more.

obsy commented 3 months ago

True, sms_tool only uses gsm to send sms.

dracula99gr commented 3 months ago

Hello @obsy! I am talking about the incoming SMS messages mostly (the need of sending SMS via the router is less frequent). The gsm alphabet is in your default SMS app settings, almost every phone I have seen in Greece has set by default the GSM Alphabet instead of unicode. Screenshot_20240615-202815_Messages Screenshot_20240615-202825_Messages

When the senders have the GSM alphabet as default there are many characters not showing up in SMS tool as shown in the screenshots above... I sent the same SMS message once with unicode at 23:52 and once with GSM alphabet 23:55