To correctly handle other alphabets on received SMS, you just have to modify the eventhandler (/etc/sms/scripts/) inserting these rows:
if [ "$1" = "RECEIVED" ]; then if sed -e '/^$/ q' < "$2" | grep "^Alphabet: UCS2" > /dev/null; then TMPFILE=`mktemp /tmp/smsd_XXXXXX` sed -e '/^$/ q' < "$2" | sed -e 's/Alphabet: UCS2/Alphabet: UTF-8/g' > $TMPFILE sed -e '1,/^$/ d' < "$2" | iconv -f UNICODEBIG -t UTF-8 >> $TMPFILE mv $TMPFILE "$2" fi /etc/sms/scripts/parser4.php $2fi
buy on FoxBox eShop For further info contact us by mail This e-mail address is being protected from spam bots, you need JavaScript enabled to view it providing us the FoxBox model you need and your company details.
KDEV di Davide Cantaluppi, P.IVA 02984320131