Package: mutt-patched
Version: 1.5.21-1
Severity: minor

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,

When the folder names contain multibyte utf8 chars, the message count is not
correctly right-aligned in the sidebar, eg.

 SampleFolder          50
 French-é            103 
 French-à             96 
 OtherFolder           32

It does happen with unread/flagged messages as well.

It seems it is due to the use of strlen() which doesn't count the number of
chars in a string, but the number of bytes, eg. it returns 5 for 'teste' but
6 for 'testé'.

I haven't been able to find the exact portion of code which should be fixed
but I would be happy to test any proposal, or even try and work on a patch
if someone could guide me.

Cheers,
Julien

- -- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.36-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mutt-patched depends on:
ii  libc6                     2.11.2-7       Embedded GNU C Library: Shared lib
ii  libcomerr2                1.41.12-2      common error description library
ii  libgnutls26               2.8.6-1        the GNU TLS library - runtime libr
ii  libgpg-error0             1.6-1          library for common error values an
ii  libgpgme11                1.2.0-1.2      GPGME - GnuPG Made Easy
ii  libgssapi-krb5-2          1.8.3+dfsg-2   MIT Kerberos runtime libraries - k
ii  libidn11                  1.18-1         GNU Libidn library, implementation
ii  libk5crypto3              1.8.3+dfsg-2   MIT Kerberos runtime libraries - C
ii  libkrb5-3                 1.8.3+dfsg-2   MIT Kerberos runtime libraries
ii  libncursesw5              5.7+20100313-4 shared libraries for terminal hand
ii  libsasl2-2                2.1.23.dfsg1-6 Cyrus SASL - authentication abstra
ii  libtokyocabinet8          1.4.37-6       Tokyo Cabinet Database Libraries [
ii  mutt                      1.5.21-1       text-based mailreader supporting M

mutt-patched recommends no packages.

mutt-patched suggests no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBCAAGBQJM3VidAAoJEIWf72cljiaxVtQQAMshCjd5pdGxsFReHmfmjOv9
UzfLXMCBKj4/hfwvxT7jx+v35unfACeKlRkVpbbcR7xtr7Pvsp8/VyzNntJ1ljW4
iQNIjWT2MGd1MTXTAymeoxOXhS+RjZN1qB0devRKy+5F5Q647FMjP3+fnntOc+Mx
Iq7Mpajz3O438PdFFED0/4NicN/f8vb1iFn3tQGQetpb3LfYn8uXvPVK8HtN8z5F
Olotfs8sbWOgIH4c9KE+IOYEFbBLivKx7GgJaTmpNtXqkpTogVQNyqw1lqAqy4d4
ouFMUDEWZfsEu6mFbLPBjkkSsi4z/J7y4SNaUdk+DTaenjk3KEqqNhcOgpTFneaX
ZQCFjsDFYRlt1DXxGf5GCF4iQ3UNwK1m+oGfcVmIIcpldCgvedcG/s3aLmOrJszB
0p7LgBT97akkQ2hxct4MsOev754APro0gAes1jEvjqJ6bTd0UImFHQUYU34c/ewn
4wtVaaknvayEjQ5lgYbSs0Nz6nF+6VsiV86DNwc5T68/oGkPK6WwC3TJFj0QUqSJ
Pu2RDD9UEtqZTUOpiCsTJICzDD3zAduZshIH+FBL5/WcPh5t62RXUXe37bV+xZsM
ie5dR8/ePQy8bzyQY26TYbH6FdD7xJhnZOCLIGNkwk8OJYb6YQ7fMonSDPQepzCY
QS9j/W9idP3Lu4ArAZGh
=W1Lw
-----END PGP SIGNATURE-----



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to