ALT Linux Bugzilla – #10851
[FR] fix behaviour in 8-bit locales with cyrillic filenames
Last modified: 2011-03-24 15:26:05
You need to
before you can comment on or make changes to this bug.
It was long observed that file-roller would work OK with both cyrillic archive
filenames and their content names, but mess up Location: bar in non-UTF8 locales
like ru_RU.KOI8-R and refuse to accept non-UTF8 names as command line arguments.
The patch for the former part of a problem is attached (verified); I'm trying to
fix the latter too but for now seems like I can break more than fix.
2 lav: thanks for
2 eostapets: thunar-archive-plugin would try to pass filename argument to
file-roller (nice "plugin", heh) and fail if it's not UTF. So you might be
interested too ;)
Created an attachment (id=1805) [details]
initial fix (Location only but tested)
UTF8 test passed for me too
I've kludged around opening archives from commandline but it's sort of band-aid
-- window title, recent files and archive creation are broken (in non-utf setup).
Passing on to an actual (so far) maintainer.
Created an attachment (id=1806) [details]
previous patch plus one more kludgy chunk
This sort of fixes opening cyrillic named archives from commandline but should
definitely break something and is incomplete anyways: window title, recent
files and archive _creation_ aren't cared for at all.
Actually it might make sense to have window->locale_filename, no?
*** Bug 22462 has been marked as a duplicate of this bug. ***