summaryrefslogtreecommitdiffstats
path: root/loader2/simplemot
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2002-12-11 23:54:47 +0000
committerMatt Wilson <msw@redhat.com>2002-12-11 23:54:47 +0000
commit8c307da285ad1cc5b3e900dc2f0ae11faf1fa6ac (patch)
tree633ca11b3cb87503512a77470a1284f4512afde3 /loader2/simplemot
parent1c491c9c515c1790e505a4100c46ab46bcc5aefc (diff)
downloadanaconda-8c307da285ad1cc5b3e900dc2f0ae11faf1fa6ac.tar.gz
anaconda-8c307da285ad1cc5b3e900dc2f0ae11faf1fa6ac.tar.xz
anaconda-8c307da285ad1cc5b3e900dc2f0ae11faf1fa6ac.zip
first pass at using unicode in text mode
Diffstat (limited to 'loader2/simplemot')
-rwxr-xr-xloader2/simplemot4
1 files changed, 4 insertions, 0 deletions
diff --git a/loader2/simplemot b/loader2/simplemot
index 467020be0..abf09694d 100755
--- a/loader2/simplemot
+++ b/loader2/simplemot
@@ -3,6 +3,10 @@
$inone = 0;
$intran = 0;
$total = 0;
+
+binmode(STDIN, ":raw");
+binmode(STDOUT, ":raw");
+
while (<>) {
if (!$inone && /^msgid/) {
chop;