Your message dated Mon, 7 Aug 2006 17:41:17 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Closing mc bug
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: mc
Version: 1:4.6.0-4.6.1-pre1-1
Severity: normal
Tags: l10n
These are my locale settings:
export LC_ALL=zh_CN.GB2312
export LC_CTYPE=zh_CN.GB2312
export LANG=zh_CN.GB2312
When I use mc, the menu can show Simplified Chinese correctly, but the hint
messages are messed code. I found the hint file (/usr/share/mc/mc.hint.zh), it
seems that it's Big5.
Then I checked the source file of mc. In load_mc_home_file of util.c, it
only gets the first 2 letters of a local name:
hintfile = g_strconcat (hintfile_base, ".", lang, NULL);
data = load_file (hintfile);
if (!data) {
g_free (hintfile);
/* Fall back to the two-letter language code */
if (lang[0] && lang[1])
lang[2] = 0;
hintfile = g_strconcat (hintfile_base, ".", lang, NULL);
...
There're two locals started with "zh":
zh_CN.GB2312
zh_TW.BIG5
So 2 letters are not enough to describe a locale.
Best regards,
Dai Yuwen
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.24-2-686
Locale: LANG=C, LC_CTYPE=C
Versions of packages mc depends on:
ii libc6 2.3.2.ds1-11 GNU C Library: Shared libraries an
ii libglib2.0-0 2.2.3-1 The GLib library of C routines
ii libgpmg1 1.19.6-12.1 General Purpose Mouse Library [lib
-- no debconf information
--- End Message ---
--- Begin Message ---
Hi!
I close this bug since the latest mc releases use UTF-8 encoded files, you
should not have encodings problems.
Regards,
--
Ludovic Drolez.
http://zaurus.palmopensource.com - The Zaurus Open Source Portal
http://www.drolez.com - Personal site - Linux, Zaurus and PalmOS stuff
--- End Message ---