[Pkg-zsh-devel] Bug#654225: zsh: Multibyte fails when $LANG.utf variable is not set

Morten Bo Johansen mbj at spamcop.net
Mon Jan 2 13:27:18 UTC 2012


Package: zsh
Version: 4.3.12-1
Severity: normal

Hi,

I could not get multibyte support to work in zsh, even if I had a, what
seemed to me, perfectly working utf-8 environment. I then checked the
output from the "locale" command and noticed that all my LC_.* variables
were set to "da_DK.utf8" whereas the $LANG variable missed the "utf8"
extension. As soon as I changed it to include this extension, then
multibyte support worked. As noted, the lack of this setting has not
affected me at all except in zsh (multibyte support worked fine in bash
for instance). I believe that zsh should check both the values of the
LC_CTYPE variable and the LANG variable.

Thanks,

Morten


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (200, 'unstable'), (100, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-rc4-686-pae (SMP w/2 CPU cores)
Locale: LANGÚ_DK.utf8, LC_CTYPEÚ_DK.utf8 (charmap=UTF-8) (ignored: LC_ALL set to da_DK.utf8)
Shell: /bin/sh linked to /bin/bash

Versions of packages zsh depends on:
ii  libc6         2.13-21
ii  libcap2       1:2.22-1
ii  libncursesw5  5.9-4

Versions of packages zsh recommends:
ii  libc6     2.13-21
ii  libpcre3  8.12-4

Versions of packages zsh suggests:
pn  zsh-doc  <none>

-- no debconf information





More information about the Pkg-zsh-devel mailing list