Help me quickly please - Arabic Problem ( Urgently ) | Search |
NowSMS Support Forums ⬆ NowSMS Support - MMS & Advanced Issues ⬆ Archive through June 09, 2011 ⬆ |
◄ ► |
Author | Message | |||
kariem hamdy New member Username: Itchrome Post Number: 9 Registered: 04-2010 |
Hello, i am trying to send a reply back through command to execute it works great with english but when i add arabic and use UTF-8 or ISO_8859-6 its not working as i get strange characters on my phone and in SMS out log file. all i need is to make a reply back in 2-way sms with arabic and i have tried php example you have etc.. and its not working for me as i got all the code in SMS so please help me to solve this problem ( i tried to send arabic sms through web interface and it worked good ) | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 2033 Registered: 08-2008 |
Hi, It's a character set issue of some sort. Here is how I would suggest troubleshooting it. Send an Arabic SMS message in to your 2-way command. Does your application see the Arabic correctly? If not, change the 2-way character set between utf-8 and iso-8859-6. One of these character sets should work. Once you are receiving the text correctly, then you should be able to send (or reply back) correctly. As a simple test, just try replying back with the same text that you received. If you do not make any progress, enable the SMSDEBUG.LOG (checkbox on the "Serial #" page). Send in another SMS with Arabic characters to your 2-way command. Have your 2-way command try to send back the same Arabic text. After you have done this test, reply to this post with the SMSDEBUG.LOG that is generated. This will show us details about what NowSMS is seeing, and that should help explain what you need to do. -- Des NowSMS Support | |||
kariem hamdy New member Username: Itchrome Post Number: 11 Registered: 04-2010 |
here is SMSDEBUG.LOG : 08:51:30:953 [6] GetProgramToExecute: c:\windows\system32\cmd.exe /c echo السلام عليكم 08:51:30:953 [6] GetProgramToExecute: c:\windows\system32\cmd.exe /c echo السلام عليكم 08:51:30:953 [6] ThreadProcessInboundSMS: Executing c:\windows\system32\cmd.exe /c echo السلام عليكم 08:51:31:000 [6] ThreadProcessInboundSMS: ںé«éںê مéïèê 08:51:31:000 [6] UTF8StringRequiresUnicodeEncoding: Translate to/from GSM string results in loss of data 08:51:31:000 [6] UTF8StringRequiresUnicodeEncoding: ع؛أ©آ«أ©ع؛أھ ظ…أ©أ¯أ¨أھ 08:51:31:000 [6] UTF8StringRequiresUnicodeEncoding: أ©أ©"أ©e @أ©iأ¨e 08:51:31:000 [6] BuildSMSReply: SMS message must be submitted with Unicode 08:51:31:000 [6] BuildSMSReply: ع؛أ©آ«أ©ع؛أھ ظ…أ©أ¯أ¨أھ 08:51:31:015 [6] ThreadProcessInboundSMS: Processing complete 4BCD018E.in... 08:51:31:968 [2] ThreadProcessModem: Processing 4BCD0190.req... | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 2110 Registered: 08-2008 |
If you are going to use the ECHO command as a test, you need to configure the 2-way command to use your system's local character set as the character set to use. In your case, that would be iso-8859-6. Otherwise, NowSMS uses UTF-8 ... which will confuse a Windows command line. Try changing the 2-way command character set to iso-8859-6. |