aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Bad filename handling  (Read 4177 times)

Diesis

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 15
Bad filename handling
« on: April 02, 2004, 04:08:43 PM »

Hello,
I noticed that there is a problem in writing filenames containing extending characters.

I put in queue a file named:
Somename.Cafè.-.Puntata.49.-.alta.qualità.avi

And when it is completed it is written in the filesystem as:
Somename.Caf?.-.Puntata.49.-.alta.qualit?.avi

Note that I could rename correctly the file in the shell.

Hope to be useful.
Logged
Debian GNU/Linux testing on PIII 450MHz - 320Mb DIMM - HP Vectra VL8i - 2x80Gb Maxtor Hdd

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: Bad filename handling
« Reply #1 on: April 02, 2004, 04:40:10 PM »

Thanx a lot for the report!
Added to Known Bugs list.
I guess it will be fixed when Unicode support is complete, but that's just a guess.

Greetings.
Logged

Diesis

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 15
Re: Bad filename handling
« Reply #2 on: April 07, 2004, 12:04:31 PM »

Forgot to point out that incoming and temp are both on FAT32.
Logged
Debian GNU/Linux testing on PIII 450MHz - 320Mb DIMM - HP Vectra VL8i - 2x80Gb Maxtor Hdd

Frankk

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 142
    • http://frankk.no-ip.com
Re: Bad filename handling
« Reply #3 on: April 07, 2004, 12:32:07 PM »

I don't have this problem in an ext2 partition.
Locally files are completed with right file name, if I access them with samba i get weird file names, but this must be samba problem.
Not tested with fat32.
Logged

nulluser

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
RE: Bad filename handling
« Reply #4 on: April 30, 2004, 12:55:01 PM »

Quote
Originally posted by Diesis
Hello,
I noticed that there is a problem in writing filenames containing extending characters.

I put in queue a file named:
Somename.Cafè.-.Puntata.49.-.alta.qualità.avi

And when it is completed it is written in the filesystem as:
Somename.Caf?.-.Puntata.49.-.alta.qualit?.avi

Note that I could rename correctly the file in the shell.

Hope to be useful.
I have the similar problem.
You are in the better situation.

In my case, I put a file named:
t¹ -ˆÈ.mp3
When completed, it's written as
-.mp3

I use amule 2.0.0rc3.

Oh.. it seems this site doesn't support my language. so I attach a snapshot.
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: Bad filename handling
« Reply #5 on: April 30, 2004, 05:58:08 PM »

Frankk: " I don't have this problem in an ext2 partition." I have it with ext3, so I guess it's not filesystem dependent, but sys configuration problem. Frankk,  FOR GOD'S SAKE, tell us your whole system configuration! ;-)
Also, the samba problem is some samba issue, but you already knew that.

Diesis: Check your charcode and codepage options when mounting your fat32 filesystem. CHeck `man mount`for the vfat mount options.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Bad filename handling
« Reply #6 on: April 30, 2004, 06:33:45 PM »

still thinking it's an unicode issue.
Logged

nulluser

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: Bad filename handling
« Reply #7 on: May 01, 2004, 06:12:02 AM »

If this is an unicode issue, Can't this be fixed?
I couldn't find this problem when using amule 1.2.6.
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: Bad filename handling
« Reply #8 on: July 21, 2004, 06:46:01 PM »

likesylph has submitted a patch for this. it's applying to 2.0.0-rc5
http://www.amule-project.net/amule/thread.php?threadid=3004&sid=
Greetings! (and thanks)
Logged