Sophie

Sophie

distrib > Fedora > 14 > x86_64 > media > updates > by-pkgid > 36a757fdfa451f4377b9e205ce5fc429 > files > 12

smstools-3.1.8-2.fc14.x86_64.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