summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tdeio/tdefile/kdiskfreesp.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tdeio/tdefile/kdiskfreesp.cpp b/tdeio/tdefile/kdiskfreesp.cpp
index 9a6959fdd..1552e01d2 100644
--- a/tdeio/tdefile/kdiskfreesp.cpp
+++ b/tdeio/tdefile/kdiskfreesp.cpp
@@ -99,6 +99,7 @@ void KDiskFreeSp::dfDone()
readingDFStdErrOut=true;
TQTextStream t (dfStringErrOut, IO_ReadOnly);
+ t.setEncoding(TQTextStream::Locale);
TQString s=t.readLine();
if ( (s.isEmpty()) || ( s.left(10) != TQString::fromLatin1("Filesystem") ) )
kdError() << "Error running df command... got [" << s << "]" << endl;