Sophie

Sophie

distrib > Fedora > 18 > x86_64 > media > updates > by-pkgid > 072a963fcbd5268f32df14f8b39bc2da > files > 13

smstools-3.1.15-6.fc18.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