Re: bugreport: spaces in folders
- From: tpgww@xxxxxxxxxxx
- To: emelfm2@xxxxxxxxxxxxx
- Date: Thu, 9 Mar 2006 21:45:52 -0500
On Thu, 9 Mar 2006 11:04:53 +0100
Atman Sense <mattenklicker@xxxxxxx> wrote:
> On Thu, 9 Mar 2006 19:30:56 -0500
> tpgww@xxxxxxxxxxx wrote:
>
> > On Thu, 9 Mar 2006 01:40:36 +0100
> > Atman Sense <mattenklicker@xxxxxxx> wrote:
> >
> > > > > Drag and Drop from/to folders with spaces does not work, also
> > > > > file-type associated actions.
> > >
> > > Oh, yes, not spaces, but unusual characters like umlauts are the
> > > problem. A click on copy-button works, drag&drop doesn't.
> > > Self-defined filetype-actions also.
> > >
> > > Cannot create file /tmp/test test mit ö und ü/asdfa - Die
> > > Argumentliste ist zu lang
> > >
> > > ran with env -i, a change to a umlaut-folder is impossible:
> > > The directory '/tmp/test 3 mit ü/' does not exist!
> >
> > These are most likely a problem with filesystem encoding. emelFM2
> > converts item names from and to localised encoding as needed,
> > _except_ if it decides that such conversion is not necessary. Such
> > decision is based on $G_FILENAME_ENCODING, $G_BROKEN_FILENAMES, the
> > default encoding for the user's locale, and whether $LANGUAGE or
> > $LANG is some flavour of english.
> >
> > To quote from the INSTALL document:
> >
> > NOTE: If your filesysten encodes path/file names in something
> > other than utf-8/ascii (e.g. with german umlauts), you should also
> > have:
> > 1. set the environment variable
> > G_FILENAME_ENCODING=character set name (or a comma-separated
> > list of such names, and glib uses the first name in that list).
> > OR
> > 2. set the environment variable G_BROKEN_FILENAMES=1. In that case,
> > glib assumes that the locale encoding is used for names.
> >
> > G_FILENAME_ENCODING takes priority over G_BROKEN_FILENAMES.
> >
> > (The above are glib requirements, not emelfm2 requirements per se.)
>
> I tried some combinations, nothing worked until i compiled emelfm
> with FILES_UTF8ONLY=1. (I switched default encoding to utf-8 in
> the kernel, too.) Now it works, but the 8859-1 filenames are
> garbled. If i convert them to utf-8, i have this in my Eterm, it
> doesnt't support utf-8 :(. Never mind, it works :) Perhaps I switch to
> uxterm or so.
Inspired by your report, I investigated and cleaned up the process for
evaluating whether conversion is needed. So it would be worth checking again,
with the next release.
Regards
Tom
--
Users can unsubscribe from the list by sending email to
emelfm2-request@xxxxxxxxxxxxx with 'unsubscribe' in the subject field or by
logging into the web interface.
- References:
- bugreport: spaces in folders
- From: Atman Sense
- Re: bugreport: spaces in folders
- From: tpgww
- Re: bugreport: spaces in folders
- From: Atman Sense
- Re: bugreport: spaces in folders
- From: tpgww
- Re: bugreport: spaces in folders
- From: Atman Sense
Other related posts:
- » bugreport: spaces in folders
- » Re: bugreport: spaces in folders
- » Re: bugreport: spaces in folders
- » Re: bugreport: spaces in folders
- » Re: bugreport: spaces in folders
- » Re: bugreport: spaces in folders
- bugreport: spaces in folders
- From: Atman Sense
- Re: bugreport: spaces in folders
- From: tpgww
- Re: bugreport: spaces in folders
- From: Atman Sense
- Re: bugreport: spaces in folders
- From: tpgww
- Re: bugreport: spaces in folders
- From: Atman Sense