uLister

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
AkulaBig
Power Member
Power Member
Posts: 528
Joined: 2021-09-09, 17:28 UTC

Re: uLister

Post by *AkulaBig »

AntonyD wrote: 2024-08-27, 08:27 UTC [but the fact that we need a VPN to watch it (for obvious RU reasons)
I can download without VPN.
User avatar
Matthias030
Senior Member
Senior Member
Posts: 423
Joined: 2007-03-04, 10:48 UTC
Location: Berlin

Re: uLister

Post by *Matthias030 »

Hi all,

I am trying to open that video and it is still not working. I do not think that this is a VPN related thing only russian users.
AkulaBig
Power Member
Power Member
Posts: 528
Joined: 2021-09-09, 17:28 UTC

Re: uLister

Post by *AkulaBig »

It only works for me if I download it to my computer.
iG0R
Junior Member
Junior Member
Posts: 58
Joined: 2018-10-05, 16:16 UTC

Re: uLister

Post by *iG0R »

AkulaBig wrote: 2024-08-26, 12:52 UTC You can try my plugin build. I don't know how to help you anymore.
Thank you so much for your help, I am very grateful to you!
Unfortunately, it didn't work either :(
I suppose it has something to do with the fonts and encoding tables on my system and how TC handles them, because even on a completely pristine TC installed in a different location, only with the uLister plugin, I'm facing the same issue.
The thing that made me think so was the display of krakozyabrs (gibberish) instead of Russian characters, despite the correct font settings in the Configuration -> Font window.
For example:
Krakozyabrs - https://imgur.com/N8UNesc
Font settings - https://imgur.com/tMvD4M9
The search result - https://imgur.com/wTvfK68
User avatar
AntonyD
Power Member
Power Member
Posts: 1554
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: uLister

Post by *AntonyD »

Well, then the situation is even worse, if it's not just problems with the embedded YouTube player,
A video stream that many of our users simply cannot see.
Because there is some degradation of speed and access to their YT-servers.
#146217 personal license
User avatar
AntonyD
Power Member
Power Member
Posts: 1554
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: uLister

Post by *AntonyD »

What about the system-wide locale setting regarding the using of Unicode fonts:
Язык программ, не поддерживающих Юникод -> выбран Русский (Россия)?
#146217 personal license
iG0R
Junior Member
Junior Member
Posts: 58
Joined: 2018-10-05, 16:16 UTC

Re: uLister

Post by *iG0R »

Matthias030 wrote: 2024-08-27, 12:36 UTC I am trying to open that video and it is still not working. I do not think that this is a VPN related thing only russian users.
AkulaBig wrote: 2024-08-27, 13:37 UTC It only works for me if I download it to my computer.
What browser do you use?
Safari and all Chrome based browsers support H.265 (HEVC) by default, but in Firefox you need to turn it on manually by setting
media.wmf.hevc.enabled to 1 in about:config

PS. I made the screencast using OBS studio in the MKV container and only changed it in Avidemux to MP4 because Github doesn't like MKV.
iG0R
Junior Member
Junior Member
Posts: 58
Joined: 2018-10-05, 16:16 UTC

Re: uLister

Post by *iG0R »

AntonyD wrote: 2024-08-27, 08:27 UTC I don't know why and in what program you recorded this video, but the fact that we need a VPN to watch it (for obvious RU reasons)
I apologize for such a blunder that I posted on the blocked on russia Github, because the constant power outages and exploding debris of russian missiles not far away don't exactly allow me to focus on these details.
For example, today we had power only from 00:00 to 01:00, 07:30 to 10:30 and just now at 16:00. It will be turned off again at 19:00. Yesterday the debris of the russian missile fell at a distance of about 1-2 km from me.
AntonyD wrote: 2024-08-27, 14:46 UTC What about the system-wide locale setting regarding the using of Unicode fonts:
Language for non-Unicode programs is set to russian(russia).
https://imgur.com/EORwg4j
AkulaBig
Power Member
Power Member
Posts: 528
Joined: 2021-09-09, 17:28 UTC

Re: uLister

Post by *AkulaBig »

iG0R wrote: 2024-08-27, 14:37 UTC The thing that made me think so was the display of krakozyabrs (gibberish) instead of Russian characters
Perhaps, but for an English text the krakozyabrs should not be a hindrance.
iG0R
Junior Member
Junior Member
Posts: 58
Joined: 2018-10-05, 16:16 UTC

Re: uLister

Post by *iG0R »

AkulaBig wrote: 2024-08-27, 15:20 UTC Perhaps, but for an English text the krakozyabrs should not be a hindrance.
Yes, but in my case TC itself handles scripts somewhat oddly, as can be seen in my screenshots where the Cyrillic script was chosen, but TC still had problems displaying Cyrillic characters in the Configuration -> Font window.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: uLister

Post by *ghisler(Author) »

I have had a look at the implementation of the ulister plugin: It only implements ListSearchText, but not ListSearchTextW. To ensure that the plugin receives the correctly encoded text, make sure to implement ListSearchTextW. It shouldn't be difficult, it just uses WCHAR* instead of char* for the SearchString parameter.
Author of Total Commander
https://www.ghisler.com
AkulaBig
Power Member
Power Member
Posts: 528
Joined: 2021-09-09, 17:28 UTC

Re: uLister

Post by *AkulaBig »

iG0R wrote: 2024-08-27, 15:38 UTC Yes, but in my case TC itself handles scripts somewhat oddly, as can be seen in my screenshots where the Cyrillic script was chosen, but TC still had problems displaying Cyrillic characters in the Configuration -> Font window.
When you use the Russian language in TC with an English OS locale, wincmd.ini must be saved in Unicode.
User avatar
AntonyD
Power Member
Power Member
Posts: 1554
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: uLister

Post by *AntonyD »

2iG0R
Only two options are available (supported by Windows ini functions): ANSI and/or UTF-16LE with BOM (1200).
E.g., if your ini saved in UTF-8 (65001), resave it in UTF-16LE with BOM (1200).
#146217 personal license
iG0R
Junior Member
Junior Member
Posts: 58
Joined: 2018-10-05, 16:16 UTC

Re: uLister

Post by *iG0R »

ghisler(Author) wrote: 2024-08-28, 07:21 UTC
Thank you very much for participating in this discussion.
Could you please take a look at why krakozyabrs (gibberish) appear in the Configuration -> Font window?
Here is the pristine installation of TC:
1. TC was downloaded from here https://totalcommander.ch/1103/tcmd1103x64.exe
2. it was installed, and wincmd.ini was converted, as AntonyD suggested, to UTF-16LE with BOM (1200) using Notepad++ https://imgur.com/rUrAAQv
3. then nothing else was done except setting charsets in the Configutation -> Font window into Cyrillic and installing the uLister plugin

Why does TC still show gibberish instead of Cyrillic characters https://imgur.com/fRPOo46?
AkulaBig wrote: 2024-08-28, 08:28 UTC When you use the Russian language in TC with an English OS locale, wincmd.ini must be saved in Unicode.
AntonyD wrote: 2024-08-28, 09:54 UTC Only two options are available (supported by Windows ini functions): ANSI and/or UTF-16LE with BOM (1200).
E.g., if your ini saved in UTF-8 (65001), resave it in UTF-16LE with BOM (1200).
Thank you both so much for your efforts, but unfortunately it still doesn't work:(
AkulaBig
Power Member
Power Member
Posts: 528
Joined: 2021-09-09, 17:28 UTC

Re: uLister

Post by *AkulaBig »

iG0R wrote: 2024-08-28, 11:25 UTC Thank you both so much for your efforts, but unfortunately it still doesn't work:(
You have a problem with fonts in OS, not in TC. This is what the line should look like in wincmd.ini
[img]https://i.ibb.co/JvMgs7R/2024-08-28-164144.png[/img]
Post Reply