[email protected]
[Top] [All Lists]

G_FILENAME_ENCODING

Subject: G_FILENAME_ENCODING
From: Lorenzo Viali
Date: Mon, 13 Nov 2006 04:05:01 -0800 PST
Hi,

I'm using Gentoo Linux 2.6.19-rc5;
the `libc' I have is sys-libs/glibc-2.3.6-r5;
the `glib' installed is dev-libs/glib-1.2.10-r5;
the `mc' shell I have currently installed is
app-misc/mc-4.6.1-r2.

I insert here the output of a session:
$ ldd /usr/bin/mc

linux-gate.so.1 =>  (0xb7fd4000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0
(0xb7fbe000)
libdl.so.2 => /lib/libdl.so.2 (0xb7fb9000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0
(0xb7f3c000)
libext2fs.so.2 => /lib/libext2fs.so.2 (0xb7f27000)
libcom_err.so.2 => /lib/libcom_err.so.2 (0xb7f25000)
libgpm.so.1 => /lib/libgpm.so.1 (0xb7f20000)
libncurses.so.5 => /lib/libncurses.so.5 (0xb7eea000)
libnsl.so.1 => /lib/libnsl.so.1 (0xb7ed4000)
libc.so.6 => /lib/libc.so.6 (0xb7dba000)
librt.so.1 => /lib/librt.so.1 (0xb7da7000)
/lib/ld-linux.so.2 (0xb7fd5000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7d56000)

There are three problems:

1. Sometimes when I access a zip file, then delete it
and create a new one with the same name as of that
deleted, old files that have been deleted still appear
in the new zip, although I have not given `zip'
options to include them...

2. When I (re)compile a program, `mc' seems to execute
the previous version of the executable, because when I
execute the newer version via `gdb', it runs
differently...

Both problems disappear after exiting/reentering `mc'.

3. When I have a directory with an `underscore' in it,
e.g., "my_ap" (but for some others also), when I try
to access them, I get an annoying "Warning: Cannot
change to ..." in the command line, although it does
change the directory.

At some moment I upgraded some packages on my system,
and since then, this 3rd problem manifests; but I
don't remember which were the packages: though, I
suspect at least one of `glib' and `mc'.

The problem here I think is with the
`G_FILENAME_ENCODING' environment variable, which is
set to "UTF-8". I tried to put "ASCII", or even
"ISO-8859-1", or even '@locale', and even set
`G_BROKEN_FILENAMES' to "1", but still I get the
warning.

I hope someone enlightens me so I can fix the
problem(s).

Thanks,
Lorenzo



 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
_______________________________________________
Mc mailing list
http://mail.gnome.org/mailman/listinfo/mc

<Prev in Thread] Current Thread [Next in Thread>