summaryrefslogtreecommitdiff
path: root/backends/aptcc/AptCacheFile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/aptcc/AptCacheFile.cpp')
-rw-r--r--backends/aptcc/AptCacheFile.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/backends/aptcc/AptCacheFile.cpp b/backends/aptcc/AptCacheFile.cpp
index f3548030..c4d5877c 100644
--- a/backends/aptcc/AptCacheFile.cpp
+++ b/backends/aptcc/AptCacheFile.cpp
@@ -19,6 +19,8 @@
*/
#include "AptCacheFile.h"
+#include "apt-utils.h"
+
#include <apt-pkg/algorithms.h>
#include <sstream>
#include <cstdio>
@@ -219,7 +221,7 @@ void AptCacheFile::ShowBroken(bool Now, PkErrorEnum error)
}
}
}
- pk_backend_error_code(m_backend, error, out.str().c_str());
+ pk_backend_error_code(m_backend, error, utf8(out.str().c_str()));
}
void AptCacheFile::buildPkgRecords()