Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > 48bafe41a2e30e25ded23a432a115d06 > files > 13

smstools-3.1.15-6.fc18.i686.rpm

#!/bin/sh
# This sample converts outgoing UTF-8 file to ISO character set
# which is an internal format used in smsd.

# After version 3.0.8 this is not needed, conversion is automatic.

FILE=`mktemp /tmp/smsd_XXXXXX`
iconv -t ISO-8859-15 -f UTF-8  < $1 > $FILE
mv $FILE $1
chmod 644 $1