diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2016-12-29 21:22:25 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2016-12-29 21:22:25 -0800 |
commit | 22c5f99a6119eeef30e1ddee3262bc942d055455 (patch) | |
tree | 4dd2fa85216067ea8c894420219c87c5f17cb579 /apt-pkg/deb | |
parent | 9d18efa67bf546a93fac78b2cbbc2ac055363e4e (diff) |
In the C locale, let's avoid any crazy transforms.
Diffstat (limited to 'apt-pkg/deb')
-rw-r--r-- | apt-pkg/deb/debrecords.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/deb/debrecords.cc b/apt-pkg/deb/debrecords.cc index 04a2df4a5..696c55e6a 100644 --- a/apt-pkg/deb/debrecords.cc +++ b/apt-pkg/deb/debrecords.cc @@ -162,7 +162,7 @@ string debRecordParserBase::LongDesc(std::string const &lang) } char const * const codeset = nl_langinfo(CODESET); - if (strcmp(codeset,"UTF-8") != 0) { + if (strcmp(codeset,"US-ASCII") != 0 && strcmp(codeset,"UTF-8") != 0) { string dest; UTF8ToCodeset(codeset, orig, &dest); return dest; |