Ticket #9048 (closed Patch: fixed)
[PATCH] Directory listing fails for dates in October and server locale=PL
|Reported by:||bogdro||Owned by:|
|Keywords:||directory listing, Polish, October||Cc:|
|Operating system type:||Linux||Operating system version:||Mandriva 2011, i686|
FileZilla Client: 3.7.3
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.
* 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.