]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/acquire-item.cc
Use C locale instead of C.UTF-8 for protocol strings
[apt.git] / apt-pkg / acquire-item.cc
index 7abb7b206a6156a5d347fa8f247e43cef261749e..d72e627254dbaffd2e9abe345007cb94ff13b9e0 100644 (file)
@@ -2047,7 +2047,7 @@ bool pkgAcqDiffIndex::ParseDiffIndex(string const &IndexDiffFile) /*{{{*/
    HashStringList ServerHashes;
    unsigned long long ServerSize = 0;
 
-   auto const &posix = std::locale("C.UTF-8");
+   auto const &posix = std::locale::classic();
    for (char const * const * type = HashString::SupportedHashes(); *type != NULL; ++type)
    {
       std::string tagname = *type;