Bug 10851 - [FR] fix behaviour in 8-bit locales with cyrillic filenames
Summary: [FR] fix behaviour in 8-bit locales with cyrillic filenames
Status: CLOSED WONTFIX
Alias: None
Product: Sisyphus
Classification: Development
Component: file-roller (show other bugs)
Version: unstable
Hardware: all Linux
: P2 enhancement
Assignee: Yuri N. Sedunov
QA Contact: qa-sisyphus
URL:
Keywords:
: 22462 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-02-16 17:01 MSK by Michael Shigorin
Modified: 2011-03-24 15:26 MSK (History)
2 users (show)

See Also:


Attachments
initial fix (Location only but tested) (2.54 KB, patch)
2007-02-16 17:07 MSK, Michael Shigorin
no flags Details | Diff
previous patch plus one more kludgy chunk (3.48 KB, patch)
2007-02-16 19:06 MSK, Michael Shigorin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Shigorin 2007-02-16 17:01:05 MSK
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
http://www.freesource.info/wiki/Lokalizacija/LokalizacijaProgramm#h323-5

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 ;)
Comment 1 Michael Shigorin 2007-02-16 17:07:52 MSK
Created attachment 1805 [details]
initial fix (Location only but tested)

UTF8 test passed for me too
Comment 2 Michael Shigorin 2007-02-16 19:01:57 MSK
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).
Comment 3 Alexey Rusakov 2007-02-16 19:04:47 MSK
Passing on to an actual (so far) maintainer.
Comment 4 Michael Shigorin 2007-02-16 19:06:42 MSK
Created attachment 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?
Comment 5 Michael Shigorin 2008-04-13 13:29:03 MSD
WONTFIX?
Comment 6 Michael Shigorin 2010-01-06 20:56:08 MSK
*** Bug 22462 has been marked as a duplicate of this bug. ***
Comment 7 Michael Shigorin 2011-03-24 15:26:05 MSK
APPARENTLY.