Sending arabic sms in windows environment

"Zulfi Erken" <[email protected]> Tue, 22 Nov 2016 12:08:55 +0100
Newsgroups gmane.linux.drivers.gammu
Message-ID <[email protected]>
I just need help about this issue. I am using:

1-Windows 10 platform
2- XAMPP PHP 5
3- ODBC driver to connect to mysql
4- Drupal 7 to send sms with locale language English.

My problem is;
When I send an SMS with Arabic characters it sends message with unreadable
characters.
If I use -unicode; it simply ignore the part written in Arabic.
If I change the message type to EMS it does not send at all.

How can I configure gammu-smsd config file and/or php to send sms in Arabic
with using gammu smsd service?

-----Original Message-----
From: [email protected]
[mailto:[email protected]] 
Sent: Sunday, November 20, 2016 7:03 PM
To: [email protected]
Subject: Gammu-users Digest, Vol 126, Issue 7

Send Gammu-users mailing list submissions to
	[email protected]

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/gammu-users
or, via email, send a message with subject or body 'help' to
	[email protected]

You can reach the person managing the list at
	[email protected]

When replying, please edit your Subject line so it is more specific than
"Re: Contents of Gammu-users digest..."


Today's Topics:

   1. Re: Running wammu installed in an alternative directory (cristian)
   2. Sending sms in arabic language. (Zulfi Erken)
   3. gammu getallsms returns nothing for Huawei E303 modem
      (Hendrik Greving)
   4. Re: gammu getallsms returns nothing for Huawei E303 modem
      (gilberto dos santos alves)
   5. Re: gammu getallsms returns nothing for Huawei E303 modem
      (Hendrik Greving)


----------------------------------------------------------------------

Message: 1
Date: Thu, 17 Nov 2016 10:33:44 +0100
From: cristian <[email protected]>
Subject: Re: Running wammu installed in an alternative directory
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8

On Wed, 16 Nov 2016 15:08:54 +0100
Michal ?iha? <[email protected]> wrote:

> Hi
> 
> Okay, it's even not in path? Then you probably need something like:
> 
> PYTHONPATH=/opt/wammu/lib/python2.7/site-packages /opt/wammu/bin/wammu
> 
> But still it depends on where you've installed Wammu.

I've typed:

PYTHONPATH=/opt/wammu/lib/python2.7/site-packages /opt/wammu/bin/wammu

so, two dialogs appear. The first is named 'Wammu Error': it says ?Failed to
load image from file "./icon/wammu.png".? and in 'Details' I can see ?can't
open file './icon/wammu.png' (error 2: No such file or directory)? and
?Failed to load image from file "./icon/wammu.png".?.

The second one, named 'Unhandled exception', contains, exactly:

"Unhandled exception appeared. If you want to help improving this program,
please report this together with description how this situation has
happened. Please report in english, otherwise you will be most likely told
to translate you report to english later.

Traceback:
  File "/opt/wammu/bin/wammu", line 182, in <module>
    Wammu.App.Run()
  File "/opt/wammu/lib/python2.7/site-packages/Wammu/App.py", line 67, in
Run
    app = WammuApp()
  File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line
8628, in __init__
    self._BootstrapApp()
  File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line
8196, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "/opt/wammu/lib/python2.7/site-packages/Wammu/App.py", line 48, in
OnInit
    frame = Wammu.Main.WammuFrame(None, -1)
  File "/opt/wammu/lib/python2.7/site-packages/Wammu/Main.py", line 174, in
__init__
    self.icon.CopyFromBitmap(wx.BitmapFromImage(img))
  File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_gdi.py", line 884,
in BitmapFromImage
    val = _gdi_.new_BitmapFromImage(*args, **kwargs)

Exception: PyAssertionError: C++ assertion "image.IsOk()" failed at
../src/gtk/bitmap.cpp(626) in wxBitmap(): invalid image"

The wammu.png icon is located into /opt/wammu/share/pixmaps.

Exactly, how should I change the command to type in the terminal?

Thanks.



------------------------------

Message: 2
Date: Fri, 18 Nov 2016 15:24:11 +0100
From: "Zulfi Erken" <[email protected]>
Subject: Sending sms in arabic language.
To: <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"

How can I send SMS in Arabic language with using PHP. My text has Arabic
characters but sent sms has not readable ones.

-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 3
Date: Sun, 20 Nov 2016 09:36:38 -0800
From: Hendrik Greving <[email protected]>
Subject: gammu getallsms returns nothing for Huawei E303 modem
To: [email protected]
Message-ID:
	<CAB1qr4GT=OUs9tufv-tKTUm9m3OCvqcjEKtZnRRmYMLVo=kwHQ@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hello,

I am using a Huawei E303 3G Dongle with Ubuntu 16.04 (and/or nanopi system
behaves identically as below). I am doing the following:

1) Disable mode switching in /etc/usb_modeswitch.conf 2) Connect dongle 3)
sudo usb_modeswitch -v 0x12d1 -p 0x1f01 -V 0x12d1 -P 0x14dc -M
"55534243000000000000000000000011060000000000000000000000000000"

I now have /dev/ttyUSB1, /dev/ttyUSB2, /dev/ttyUSB3 (/dev/ttyUSB0 is used by
another serial device)

I got the latest gammu -v 1.37.91. I can send SMS by

echo "BLAH" | sudo gammu sendsms TEXT +1##########

however, "sudo gammu getallsms" returns:

0 SMS parts in 0 SMS sequences

however there should already be SMS available and I can see them when
switching the dongle to ethernet mode

1) sudo usb_modeswitch -v 0x12d1 -p 0x1f01 -V 0x12d1 -P 0x14dc -M
"55534243123456780000000000000a11062000000000000100000000000000" 2)
http://192.168.1.1 -> check SMS in web interface

before I debug gammu and/or manual AT commands, anybody have an idea what
could be wrong why I am not able to receive SMS using gammu?

Thank you, Hendrik
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 4
Date: Sun, 20 Nov 2016 15:44:01 -0200
From: gilberto dos santos alves <[email protected]>
Subject: Re: gammu getallsms returns nothing for Huawei E303 modem
To: gammu-users <[email protected]>
Message-ID:
	<CAP9G-NKKKG1v+PH4_FwbnkeQdhe1jvwmU=f9G6OfQeMkqniMMw@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

hi. in your getallsms explicity what is your gammuc or config for use.
home/your-user or /etc/gammurc

Em 20/11/2016 15:37, "Hendrik Greving" <[email protected]> escreveu:

> Hello,
>
> I am using a Huawei E303 3G Dongle with Ubuntu 16.04 (and/or nanopi 
> system behaves identically as below). I am doing the following:
>
> 1) Disable mode switching in /etc/usb_modeswitch.conf 2) Connect 
> dongle 3) sudo usb_modeswitch -v 0x12d1 -p 0x1f01 -V 0x12d1 -P 0x14dc -M "
> 55534243000000000000000000000011060000000000000000000000000000"
>
> I now have /dev/ttyUSB1, /dev/ttyUSB2, /dev/ttyUSB3 (/dev/ttyUSB0 is 
> used by another serial device)
>
> I got the latest gammu -v 1.37.91. I can send SMS by
>
> echo "BLAH" | sudo gammu sendsms TEXT +1##########
>
> however, "sudo gammu getallsms" returns:
>
> 0 SMS parts in 0 SMS sequences
>
> however there should already be SMS available and I can see them when 
> switching the dongle to ethernet mode
>
> 1) sudo usb_modeswitch -v 0x12d1 -p 0x1f01 -V 0x12d1 -P 0x14dc -M "
> 55534243123456780000000000000a11062000000000000100000000000000" 2)
> http://192.168.1.1 -> check SMS in web interface
>
> before I debug gammu and/or manual AT commands, anybody have an idea 
> what could be wrong why I am not able to receive SMS using gammu?
>
> Thank you, Hendrik
>
> ------------------------------------------------------------
> ------------------
>
> _______________________________________________
> Gammu-users mailing list - https://lists.sourceforge.net/ 
> lists/listinfo/gammu-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 5
Date: Sun, 20 Nov 2016 10:02:29 -0800
From: Hendrik Greving <[email protected]>
Subject: Re: gammu getallsms returns nothing for Huawei E303 modem
To: Gammu and Wammu related discussions
	<[email protected]>
Message-ID:
	<CAB1qr4F82oTLop+_T88-=wApfjPmoM5mywsHQF+JvgnxUp05Kw@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi, sorry should have posted this. I have

[gammu]

port = /dev/ttyUSB1
model =
connection = at19200
synchronizetime = yes
logfile =
logformat = nothing
use_locking =
gammuloc =

I have also tried ttyUSB2 and ttyUSB3. ttyUSB3 behaves the same as ttyUSB1,
while ttyUSB2 doesn't work at all (timeout).


On Sun, Nov 20, 2016 at 9:44 AM, gilberto dos santos alves <[email protected]
> wrote:

> hi. in your getallsms explicity what is your gammuc or config for use.
> home/your-user or /etc/gammurc
>
> Em 20/11/2016 15:37, "Hendrik Greving" <[email protected]> escreveu:
>
>> Hello,
>>
>> I am using a Huawei E303 3G Dongle with Ubuntu 16.04 (and/or nanopi 
>> system behaves identically as below). I am doing the following:
>>
>> 1) Disable mode switching in /etc/usb_modeswitch.conf 2) Connect 
>> dongle
>> 3) sudo usb_modeswitch -v 0x12d1 -p 0x1f01 -V 0x12d1 -P 0x14dc -M 
>> "55534243000000000000000000000011060000000000000000000000000000"
>>
>> I now have /dev/ttyUSB1, /dev/ttyUSB2, /dev/ttyUSB3 (/dev/ttyUSB0 is 
>> used by another serial device)
>>
>> I got the latest gammu -v 1.37.91. I can send SMS by
>>
>> echo "BLAH" | sudo gammu sendsms TEXT +1##########
>>
>> however, "sudo gammu getallsms" returns:
>>
>> 0 SMS parts in 0 SMS sequences
>>
>> however there should already be SMS available and I can see them when 
>> switching the dongle to ethernet mode
>>
>> 1) sudo usb_modeswitch -v 0x12d1 -p 0x1f01 -V 0x12d1 -P 0x14dc -M 
>> "55534243123456780000000000000a11062000000000000100000000000000" 2)
>> http://192.168.1.1 -> check SMS in web interface
>>
>> before I debug gammu and/or manual AT commands, anybody have an idea 
>> what could be wrong why I am not able to receive SMS using gammu?
>>
>> Thank you, Hendrik
>>
>> ------------------------------------------------------------
>> ------------------
>>
>> _______________________________________________
>> Gammu-users mailing list - https://lists.sourceforge.net/ 
>> lists/listinfo/gammu-users
>>
>>
> ------------------------------------------------------------
> ------------------
>
> _______________________________________________
> Gammu-users mailing list - https://lists.sourceforge.net/ 
> lists/listinfo/gammu-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

----------------------------------------------------------------------------
--


------------------------------

_______________________________________________
Gammu-users mailing list -
https://lists.sourceforge.net/lists/listinfo/gammu-users


End of Gammu-users Digest, Vol 126, Issue 7
*******************************************


------------------------------------------------------------------------------
_______________________________________________
Gammu-users mailing list - https://lists.sourceforge.net/lists/listinfo/gammu-users