Locales and CSMP settings

Firelogic <[email protected]> Mon, 18 Nov 2019 18:40:43 +0100
Newsgroups gmane.linux.drivers.gnokii
Message-ID <CAK4t5DUaFSKf4mwBGC_3QhM6r_=1xTZsj8QXe+0wHK8utTdQYw@mail.gmail.com>
--===============0100299960092979152==
Content-Type: multipart/alternative; boundary="000000000000036e2f0597a2732f"

--000000000000036e2f0597a2732f
Content-Type: text/plain; charset="UTF-8"

Dear gnokii developers and users,

I have some problem sending SMS messages with gnokii-smsd-mysql with
hungarian spec characters in it., the program cuts the message at the
position of special character.
I turned on debugging mode, and it writes "ucs2_encode/iconv: Invalid or
incomplete multibyte or wide character" error message.

I use 0.6.30+dfsg-1.2+b1 version.
MySQL charset and collation are UTF-8, apache charset is also UTF-8.

(sending sms messages from the main gnokii program via ssh console is
working perfect)

My locales settings are:

# locale
LANG=hu_HU.UTF-8
LANGUAGE=hu_HU.UTF-8 UTF-8
LC_CTYPE="hu_HU.UTF-8"
LC_NUMERIC="hu_HU.UTF-8"
LC_TIME="hu_HU.UTF-8"
LC_COLLATE="hu_HU.UTF-8"
LC_MONETARY="hu_HU.UTF-8"
LC_MESSAGES="hu_HU.UTF-8"
LC_PAPER="hu_HU.UTF-8"
LC_NAME="hu_HU.UTF-8"
LC_ADDRESS="hu_HU.UTF-8"
LC_TELEPHONE="hu_HU.UTF-8"
LC_MEASUREMENT="hu_HU.UTF-8"
LC_IDENTIFICATION="hu_HU.UTF-8"
LC_ALL=

What should I modify in this system to make it work properly?
Shall I send AT+CSMP=.... AT command before sending the sms? In this case
what is the correct value for DCS parameter?

Thanks,
FL Gnokker

--000000000000036e2f0597a2732f
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Dear gnokii developers and users,<div><br></div><div>I hav=
e some problem sending SMS messages with gnokii-smsd-mysql with hungarian s=
pec characters in it., the program cuts the message at the position of spec=
ial character.</div><div>I turned on debugging mode, and it writes &quot;uc=
s2_encode/iconv: Invalid or incomplete multibyte or wide character&quot; er=
ror message.<br></div><div><br></div><div>I use 0.6.30+dfsg-1.2+b1 version.=
</div><div>MySQL charset and collation are UTF-8, apache charset is also UT=
F-8.</div><div><br></div><div>(sending sms messages from the main gnokii pr=
ogram via ssh console is working perfect)</div><div><br></div><div>My local=
es settings are:</div><div><br></div><div># locale<br>LANG=3Dhu_HU.UTF-8<br=
>LANGUAGE=3Dhu_HU.UTF-8 UTF-8<br>LC_CTYPE=3D&quot;hu_HU.UTF-8&quot;<br>LC_N=
UMERIC=3D&quot;hu_HU.UTF-8&quot;<br>LC_TIME=3D&quot;hu_HU.UTF-8&quot;<br>LC=
_COLLATE=3D&quot;hu_HU.UTF-8&quot;<br>LC_MONETARY=3D&quot;hu_HU.UTF-8&quot;=
<br>LC_MESSAGES=3D&quot;hu_HU.UTF-8&quot;<br>LC_PAPER=3D&quot;hu_HU.UTF-8&q=
uot;<br>LC_NAME=3D&quot;hu_HU.UTF-8&quot;<br>LC_ADDRESS=3D&quot;hu_HU.UTF-8=
&quot;<br>LC_TELEPHONE=3D&quot;hu_HU.UTF-8&quot;<br>LC_MEASUREMENT=3D&quot;=
hu_HU.UTF-8&quot;<br>LC_IDENTIFICATION=3D&quot;hu_HU.UTF-8&quot;<br>LC_ALL=
=3D<br><br>What should I modify in this=C2=A0system to make it work properl=
y?</div><div>Shall I send AT+CSMP=3D.... AT command before sending the sms?=
 In this case what is the correct value for DCS parameter?</div><div><br></=
div><div>Thanks,</div><div>FL Gnokker</div></div>

--000000000000036e2f0597a2732f--


--===============0100299960092979152==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZ25va2lpLXVz
ZXJzIG1haWxpbmcgbGlzdApnbm9raWktdXNlcnNAbm9uZ251Lm9yZwpodHRwczovL2xpc3RzLm5v
bmdudS5vcmcvbWFpbG1hbi9saXN0aW5mby9nbm9raWktdXNlcnMK

--===============0100299960092979152==--