Bug#483464: aptitude: section descriptions are not translated to the locale encoding

2008-09-01 Thread Daniel Burrows
On Wed, May 28, 2008 at 10:43:23PM +0200, Michal Politowski [EMAIL PROTECTED] 
was heard to say:
 In the pl_PL locale with the ISO-8859-2 encoding, the package sections
 descriptions from aptitude-defaults.pl are not translated to the locale
 encoding but the utf-8 strings are displayed as is, which produces
 unreadable descriptions.

  Do you get this only in the section descriptions?  I can't speak
Polish, but when I attempt to run aptitude in ISO-8859-2 I see some odd
artifacts elsewhere in the program, such as 1/4 appearing in menu
titles.  See the attached screen shot, for instance.

  Daniel
attachment: aptitude-screenshot.png

Bug#483464: aptitude: section descriptions are not translated to the locale encoding

2008-09-01 Thread Michal Politowski
On Mon,  1 Sep 2008 07:11:16 -0700, Daniel Burrows wrote:
 On Wed, May 28, 2008 at 10:43:23PM +0200, Michal Politowski [EMAIL 
 PROTECTED] was heard to say:
  In the pl_PL locale with the ISO-8859-2 encoding, the package sections
  descriptions from aptitude-defaults.pl are not translated to the locale
  encoding but the utf-8 strings are displayed as is, which produces
  unreadable descriptions.
 
   Do you get this only in the section descriptions?  I can't speak
 Polish, but when I attempt to run aptitude in ISO-8859-2 I see some odd
 artifacts elsewhere in the program, such as 1/4 appearing in menu
 titles.  See the attached screen shot, for instance.

It looks like Jarek Kaminski was faster than me with the answer, and he is 
right.
With ISO-8859-2 fonts installed, menus etc. look as they should,
but the section descriptions display as if they were not recoded from UTF-8,
exactly as on his sid screenshot.

-- 
Michał Politowski


signature.asc
Description: Digital signature


Bug#483464: aptitude: section descriptions are not translated to the locale encoding

2008-09-01 Thread Daniel Burrows
On Mon, Sep 01, 2008 at 09:26:20PM +0200, Michal Politowski [EMAIL PROTECTED] 
was heard to say:
 On Mon,  1 Sep 2008 07:11:16 -0700, Daniel Burrows wrote:
  On Wed, May 28, 2008 at 10:43:23PM +0200, Michal Politowski [EMAIL 
  PROTECTED] was heard to say:
   In the pl_PL locale with the ISO-8859-2 encoding, the package sections
   descriptions from aptitude-defaults.pl are not translated to the locale
   encoding but the utf-8 strings are displayed as is, which produces
   unreadable descriptions.
  
Do you get this only in the section descriptions?  I can't speak
  Polish, but when I attempt to run aptitude in ISO-8859-2 I see some odd
  artifacts elsewhere in the program, such as 1/4 appearing in menu
  titles.  See the attached screen shot, for instance.
 
 It looks like Jarek Kaminski was faster than me with the answer, and he is 
 right.
 With ISO-8859-2 fonts installed, menus etc. look as they should,
 but the section descriptions display as if they were not recoded from UTF-8,
 exactly as on his sid screenshot.

  Oddly, the problem turned out to be the opposite -- the UTF-8 was
being decoded as if it was ISO-8859-2.  I'm not familiar with the
intricacies of character encodings, but I suppose that since ISO-8859-2
is an 8-bit character set, this has the effect of passing it through
unchanged.  Decoding it as UTF-8 fixed the problem.

  Daniel



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#483464: aptitude: section descriptions are not translated to the locale encoding

2008-05-28 Thread Michal Politowski
Package: aptitude
Version: 0.4.11.3-1
Severity: normal

In the pl_PL locale with the ISO-8859-2 encoding, the package sections
descriptions from aptitude-defaults.pl are not translated to the locale
encoding but the utf-8 strings are displayed as is, which produces
unreadable descriptions.

-- Package-specific info:
aptitude 0.4.11.3 skompilowany May 27 2008 04:52:17
Kompilator: g++ 4.2.4 (Debian 4.2.4-1)
Skompilowane wzgl�m:
  wersja apt 4.6.0
  wersja NCurses 5.6
  wersja libsigc++: 2.0.18
  Obs�uga ept w��czona.

Bie��ce wersje bibliotek:
  wersja NCurses: ncurses 5.6.20080503
  wersja cwidget: 0.5.11
  wersja Apt: 4.6.0
linux-gate.so.1 =  (0xb7f19000)
libapt-pkg-libc6.7-6.so.4.6 = /usr/lib/libapt-pkg-libc6.7-6.so.4.6 
(0xb7e2b000)
libncursesw.so.5 = /lib/libncursesw.so.5 (0xb7def000)
libsigc-2.0.so.0 = /usr/lib/libsigc-2.0.so.0 (0xb7de9000)
libcwidget.so.3 = /usr/lib/libcwidget.so.3 (0xb7cf9000)
libept.so.0 = /usr/lib/libept.so.0 (0xb7c81000)
libxapian.so.15 = /usr/lib/libxapian.so.15 (0xb7b0e000)
libz.so.1 = /usr/lib/libz.so.1 (0xb7af8000)
libpthread.so.0 = /lib/i686/cmov/libpthread.so.0 (0xb7ae)
libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0xb79f3000)
libm.so.6 = /lib/i686/cmov/libm.so.6 (0xb79ce000)
libgcc_s.so.1 = /lib/libgcc_s.so.1 (0xb79c1000)
libc.so.6 = /lib/i686/cmov/libc.so.6 (0xb7873000)
libutil.so.1 = /lib/i686/cmov/libutil.so.1 (0xb786e000)
libdl.so.2 = /lib/i686/cmov/libdl.so.2 (0xb786a000)
/lib/ld-linux.so.2 (0xb7f1a000)
Terminal: xterm
$DISPLAY is set.
`which aptitude`: /usr/bin/aptitude
aptitude version information:

aptitude linkage:

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'experimental'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/1 CPU core)
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/dash

Versions of packages aptitude depends on:
ii  apt [libapt-pkg-libc6. 0.7.12Advanced front-end for dpkg
ii  libc6  2.7-11GNU C Library: Shared libraries
ii  libcwidget30.5.11-1  high-level terminal interface libr
ii  libept00.5.17High-level library for managing De
ii  libgcc11:4.3.0-5 GCC support library
ii  libncursesw5   5.6+20080503-1Shared libraries for terminal hand
ii  libsigc++-2.0-0c2a 2.0.18-2  type-safe Signal Framework for C++
ii  libstdc++6 4.3.0-5   The GNU Standard C++ Library v3
ii  libxapian151.0.5-1   Search engine library
ii  zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages aptitude recommends:
ii  aptitude-doc-en [aptitude-doc 0.4.11.3-1 English manual for aptitude, a ter
ii  libparse-debianchangelog-perl 1.1.1-2parse Debian changelogs and output

-- no debconf information

-- 
Michał Politowski
Talking has been known to lead to communication if practiced carelessly.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]