[Pkg-mc-devel] Bug#848238: mc: "mc diacritics (locale) problem on Debian 8.6 (Jessie)"

crysman crysman at luzanky.cz
Thu Dec 15 13:53:24 UTC 2016


Package: mc
Version: 3:4.8.13-3
Severity: normal
File: mc

When I run mc as normal user, diacritics is broken (chars like e.g.
"ěščřžýáíé").

When I run "locale" before running mc, I get this:
LANG=cs_CZ.UTF-8
LANGUAGE=
LC_CTYPE="cs_CZ.UTF-8"
LC_NUMERIC=cs_CZ.UTF-8
LC_TIME=cs_CZ.UTF-8
LC_COLLATE="cs_CZ.UTF-8"
LC_MONETARY=cs_CZ.UTF-8
LC_MESSAGES="cs_CZ.UTF-8"
LC_PAPER=cs_CZ.UTF-8
LC_NAME=cs_CZ.UTF-8
LC_ADDRESS=cs_CZ.UTF-8
LC_TELEPHONE=cs_CZ.UTF-8
LC_MEASUREMENT=cs_CZ.UTF-8
LC_IDENTIFICATION=cs_CZ.UTF-8
LC_ALL=

On the other hand, when I run "locale" from within already running mc, I
get this:
LANG=cs_CZ.UTF-8
LANGUAGE=
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=C

Running mc as root is OK.

Why is that so and how can I chage it, please? #crysman



-- System Information:
Debian Release: 8.6
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages mc depends on:
ii  e2fslibs      1.42.12-2
ii  libc6         2.19-18+deb8u6
ii  libglib2.0-0  2.42.1-1+b1
ii  libgpm2       1.20.4-6.1+b2
ii  libslang2     2.3.0-2
ii  libssh2-1     1.4.3-4.1+deb8u1
pn  mc-data       <none>

Versions of packages mc recommends:
ii  mime-support  3.58
ii  perl          5.20.2-3+deb8u6
ii  unzip         6.0-16+deb8u2

Versions of packages mc suggests:
pn  arj                        <none>
ii  bzip2                      1.0.6-7+b3
pn  catdvi | texlive-binaries  <none>
pn  dbview                     <none>
pn  djvulibre-bin              <none>
ii  file                       1:5.22+15-2+deb8u2
pn  genisoimage                <none>
pn  gv                         <none>
pn  imagemagick                <none>
ii  lynx                       2.8.9dev1-2+deb8u1
pn  odt2txt                    <none>
pn  poppler-utils              <none>
ii  python                     2.7.9-1
pn  python-boto                <none>
pn  python-tz                  <none>
pn  xpdf | pdf-viewer          <none>
ii  zip                        3.0-8



More information about the Pkg-mc-devel mailing list