SMS Server Tools 3
This site is hosted by
Basic information:
Additional information:
Get SMS Server Tools 3:
Additional Options

 Sponsored links

Custom Search

 Visitor locations
 SMS Server Tools 3 Community
Welcome, Guest. Please login or register. Fri Sep 22, 2017 11:43
SMSTools3 Community » Sample scripts / setups Bottom

decode problem (hungarian chars)

Login and Post Reply

Page:  1

Author Post
Jan 2012
Location: Hungary/Budapest, Hungary

This is my conf:

evices = GSM1
logfile = /var/log/smsd.log
loglevel = 8
store_sent_pdu = 3
eventhandler = /usr/local/etc/
incoming_utf8 = yes

device = /dev/cuaU0.0
incoming = yes
baudrate = 115200
memory_start = 0
cs_convert = yes
smsc = #####

The above solution works, BUT two characters are problems: őŐ űŰ
these chars store in the file (/var/spool/sms/incoming/*) like this:
ÁrvíztqrQ tükörfúrógép
q = ű
Q = ő

What becomes of these characters with other characters?

regards, Zsolt

Aug 2014
Location: Hungary
Hello All!

I ran into the same problem, and I write down the solution.
The problem is that You I the message without any "Alphabet: XXX" setting the sms outgoing file.
I read it somewhere in the documentation that if I specify Alphabet setting the the text part should be in UNICODEBIG encodig.

I'm sending text messages with sendsms command, and I modified it like this:
- Commented the part which finds the alphabet, and set fix UCS alphabet:
#if which iconv > /dev/null 2>&1; then
# if ! $ECHO -n "$TEXT" | iconv -t ISO-8859-15 >/dev/null 2>&1; then
# ALPHABET="Alphabet: UCS"
# fi
ALPHABET="Alphabet: UCS"

And modified this line:
$ECHO -n "$TEXT" | iconv -t UNICODEBIG >> $TMPFILE

to this:
$ECHO -n "$TEXT" | iconv -f UTF-8 -t UNICODEBIG >> $TMPFILE

and just have to remove a newline character from the end of the binary UNICODEBIG part of the file. Still working in that one. :)

All the best,


Login and Post Reply

Page:  1

SMSTools3 Community » Sample scripts / setups Top

Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.