Sha256: 47d942e7e14c8a0c57182f1dd1cd6e66246b239cec28429f48d92bf8c2fea776
Contents?: true
Size: 527 Bytes
Versions: 5
Compression:
Stored size: 527 Bytes
Contents
#!/bin/sh # Simple check of a stateful encoding. # Usage: check-stateful SRCDIR CHARSET srcdir="$1" charset="$2" set -e # charset, modified for use in filenames. charsetf=`echo "$charset" | sed -e 's,:,-,g'` ../src/iconv_no_i18n -f "$charset" -t UTF-8 < "${srcdir}"/"$charsetf"-snippet > tmp-snippet cmp "${srcdir}"/"$charsetf"-snippet.UTF-8 tmp-snippet ../src/iconv_no_i18n -f UTF-8 -t "$charset" < "${srcdir}"/"$charsetf"-snippet.UTF-8 > tmp-snippet cmp "${srcdir}"/"$charsetf"-snippet tmp-snippet rm -f tmp-snippet exit 0
Version data entries
5 entries across 5 versions & 1 rubygems