Opened 10 years ago

Closed 10 years ago

#9048 closed Patch (fixed)

[PATCH] Directory listing fails for dates in October and server locale=PL

Reported by: Bogdan Drozdowski Owned by:
Priority: normal Component: FileZilla Client
Keywords: directory listing, Polish, October Cc:
Component version: Operating system type: Linux
Operating system version: Mandriva 2011, i686

Description

FileZilla Client: 3.7.3
Protocol: SFTP
Server type: Unix
Problem: a directory listing in Polish server locale fails when the returned dates are in the month October and in the "short-month-name day hour:minute" form, e.g.
-rw-------. 1 owner group 345306 paź 14 21:17 file-name
FileZilla Client will see this object as a file named "paź 14 21:17 file-name" with no date/time assigned. You can't download such file or browse to such directory, because the name FileZilla shows and uses doesn't actually exist on the server.
The reason for this is the Polish "ź" letter in the "paź" word (which is Polish for "Oct"). FileZilla doesn't seem to recognise the encoding.
Changing the encoding in FileZilla doesn't help. Changing the server type in FileZilla doesn't help either.
Possible solutions:

  • use listing that displays dates in a predefined format, e.g. YYYY-MM-DD, if possible,
  • allow the user to specify the command to use for listing, if possible,
  • add the problematic character to the codes to have it recognised.

The patch that will be attached to this ticket adds support for ISO-8859-2 and UTF-8 encodings for the letter and additionally adds the sequence that the particular problematic server sent.
Tested, works.

Attachments (1)

filezilla-october-pl.diff (596 bytes ) - added by Bogdan Drozdowski 10 years ago.
The patch that allows other encodings of the Polish "Oct" short month name

Download all attachments as: .zip

Change History (2)

by Bogdan Drozdowski, 10 years ago

Attachment: filezilla-october-pl.diff added

The patch that allows other encodings of the Polish "Oct" short month name

comment:1 by Tim Kosse, 10 years ago

Resolution: fixed
Status: newclosed

Thanks, applied.

Note: See TracTickets for help on using tickets.