[screen] convert info to UTF-8

Miroslav Lichvar mlichvar at fedoraproject.org
Fri Feb 4 15:21:07 UTC 2011


commit 06a6a2ee0966603943debb8b0d4d8d960402f23a
Author: Miroslav Lichvar <mlichvar at redhat.com>
Date:   Fri Feb 4 16:09:38 2011 +0100

    convert info to UTF-8

 screen.spec |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/screen.spec b/screen.spec
index 611f5d9..f72f752 100644
--- a/screen.spec
+++ b/screen.spec
@@ -59,6 +59,11 @@ support multiple logins on one terminal.
 sed -i -e 's/.*#.*undef.*HAVE_BRAILLE.*/#define HAVE_BRAILLE 1/;' config.h
 
 sed -i -e 's/\(\/usr\)\?\/local\/etc/\/etc/g;' doc/screen.{1,texinfo}
+
+for i in doc/screen.texinfo; do
+    iconv -f iso8859-1 -t utf-8 < $i > $i.utf8 && mv -f ${i}{.utf8,}
+done
+
 rm -f doc/screen.info*
 
 # fails with %{?_smp_mflags}


More information about the scm-commits mailing list