Re: [Evolution] Evolution changes file names of attachments (underscores instead of spaces)
- From: "Japhering, Anonymous" <japhering gmail com>
- To: evolution-list gnome org
- Subject: Re: [Evolution] Evolution changes file names of attachments (underscores instead of spaces)
- Date: Thu, 29 Oct 2020 08:50:14 -0500
On Thu, 2020-10-29 at 12:16 +0100, theapplepie differentmail com wrote:
evolution: 3.36.4-0ubuntu1
ubuntu Version 20.04.1 LTS, Mate 1.24.0, Kernel Linux 5.4.0-51
generic
x86_64
When storing attachments, their names will be changed!
Example: original:>one two three.jpg<, new:>one_two_three.jpg<
All empty fields will be changed in underlines.
What can I do?
I have the same problem and was about to email to the list but had no
time yet. I am eager to know more about this behaviour and whether the
replacing of spaces in the file name with underscores (underline, low
line, or low dash) can be turned off in some way.
3.36.4-0ubuntu1, Ubuntu 20.04.1 LTS
(It also happened with previous Evolution versions, though.)
I'm sure someone will correct me, but space ( as well as a host of others ) in filenames are a pain in the arse on
any Unix based (Unix, AIX, Linux, BSD) based OS, which means it takes lots of special code to handle. Translation
of "special" characters like spaces, &, *, etc is a simple operation which eliminates lots code ( and therefore lots
of bugs ).
Additionally, if you try to handle one two three.jpg from the command line, you will have to resort to quoting or
regular _expression_ matching to access the file. Otherwise you get results like:
ls one two three.jpg
ls: cannot access 'one': No such file or directory
ls: cannot access 'two': No such file or directory
three.jpg
verses
ls one_two_three.jpg
one_two_three.jpg
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]