utomi: 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:
#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
#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,
Tamas
|