aboutsummaryrefslogtreecommitdiffstats
path: root/util/toutf8.sh
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2016-05-20 16:16:07 -0400
committerRich Salz <rsalz@openssl.org>2016-06-01 11:29:57 -0400
commitb8a9af68819f1cc51155cdeabe8bbf8242e8b3ee (patch)
tree15f0024f3772763a4d8d0789b1464f9666460864 /util/toutf8.sh
parent44c8a5e2b9af8909844cc002c53049311634b314 (diff)
downloadopenssl-b8a9af68819f1cc51155cdeabe8bbf8242e8b3ee.tar.gz
Remove/rename some old files.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'util/toutf8.sh')
-rw-r--r--util/toutf8.sh17
1 files changed, 0 insertions, 17 deletions
diff --git a/util/toutf8.sh b/util/toutf8.sh
deleted file mode 100644
index 8a4254b3df..0000000000
--- a/util/toutf8.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#! /bin/sh
-#
-# Very simple script to detect and convert files that we want to re-encode to UTF8
-
-git ls-tree -r --name-only HEAD | \
- while read F; do
- charset=`file -bi "$F" | sed -e 's|.*charset=||'`
- if [ "$charset" != "utf-8" -a "$charset" != "binary" -a "$charset" != "us-ascii" ]; then
- iconv -f ISO-8859-1 -t UTF8 < "$F" > "$F.utf8" && \
- ( cmp -s "$F" "$F.utf8" || \
- ( echo "$F"
- mv "$F" "$F.iso-8859-1"
- mv "$F.utf8" "$F"
- )
- )
- fi
- done