Ticket #9048 (closed Patch: fixed)

Opened 9 months ago

Last modified 6 months ago

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

Reported by: bogdro Owned by:
Priority: normal Component: FileZilla Client
Keywords: directory listing, Polish, October Cc:
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

filezilla-october-pl.diff Download (0.6 KB) - added by bogdro 9 months ago.
The patch that allows other encodings of the Polish "Oct" short month name

Change History

Changed 9 months ago by bogdro

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

Changed 6 months ago by codesquid

  • status changed from new to closed
  • resolution set to fixed

Thanks, applied.

Note: See TracTickets for help on using tickets.