Page 1 of 1

Command w/ parameters to change FontCharset in panel

Posted: 2017-03-07, 15:26 UTC
by DrShark
Now that AutoSwitch allows to execute command when TC enters certain path, I'd like to return to my suggestion from 2008 that I asked via email.

The suggestion was to allow to change FontCharset to some value and then back to default for certain archives, because TC can show correctly cyrillic names in CAB archives made by PowerArchiver 6.x only with FontCharset=255 in wincmd.ini.

Now with AutoSwitch and new command(s) to change font charset for panel(s), it woluld be possible to have archive opened in TC with its filenames shown in certain encoding. Since FontCharset is a global setting, similar parameter could be added to wincmd.ini for AutoSwitch purpose.

Posted: 2017-03-09, 11:18 UTC
by ghisler(Author)
This would be useful also for other archive types - but I don't see a way to present this to the user in the current user interface. Any ideas?

Posted: 2017-03-09, 19:58 UTC
by DrShark
ghisler(Author) wrote:This would be useful also for other archive types - but I don't see a way to present this to the user in the current user interface. Any ideas?
I actually thought of command like SRCUSECHARSET to change font charset for current panel (with parameters it would be like SRCUSECHARSET 255), so the command could be used on View Mode configuration page (Auto-run commands). But interface solution is easy: checkbox "Apply font charset for panel file list" with input field for a number. Checkbox colud be placed either on View Mode configuration page, or Auto Switch one. Or even no checkbox, just a field with ediitable default value. I think it may be also useful for FTP, not only archives, so there is no reason to limit this option to archives only.

Re: Command w/ parameters to change FontCharset in panel

Posted: 2019-03-11, 12:22 UTC
by DrShark
In addition above suggestion for a new command to change names encoding (so at least advanced users could use it,) I suggest a new UI solution:
in columns context menu (where it's possible to change default and column column views), add a menu with a name like "File name encoding", and submenus "Show encoding" and "Change encoding". "Show encoding" will make current encoding name appear near Name word of a "Name" column, so it will be named "Name (encoding name)". "Name" column is always visible, so for user it will be easy to use this feature.