[64] Russian characters in search template names as '?'

Bug reports will be moved here when the described bug has been fixed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

[64] Russian characters in search template names as '?'

Post by *MVV »

I'm using Win1251 in wincmd.ini and all 32-bit TC versions display names correctly. But TCx64 8.0b1 displays '?' instead of Russian characters in 'Load/Save' tab's listbox. If I save new preset with Russian name, it is displayed incorrectly too, but is saved into wincmd.ini correctly. So it seems that problem is only for that listbox.

Also same problem for 'Specify file type' dialog's listbox and for dialogs 'Expand/Shrink selection', and even for 'Define colors by file type' dialog.

It seems like it displays text in listboxes in UTF-8, because number of '?' is ~twice less than preset name lengths.

Filenames in search result listbox are displayed correctly.
User avatar
Flint
Power Member
Power Member
Posts: 3506
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

Post by *Flint »

Confirm. I have wincmd.ini in UTF-16, and the problem is reproduced here too.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 11.03 / Win10 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Confirmed too, thanks! That dialog doesn't support Unicode, so it will only work with your native language. But Lazarus expects UTF-8 strings, while TC sends ANSI. I will fix it.
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Partially fixed in Beta2.

Problem still exist for 'Specify file type' dialog that is called from 'Custom fields by file type' dialog and also for dialogs 'Expand/Shrink selection'.
Colored listbox in dialog 'Define colors by file type' also can't display non-English characters.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sorry, didn't see that second report - please send a separate report for each bug to avoid this.
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Subject is the same, that's why I posted here.
Ok, next time I'll post in new topic.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Yes it's the same problem (Lazarus expecting UTF-8), I just missed that you reported it in multiple places.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This should be fixed in beta 3, please check!
Author of Total Commander
https://www.ghisler.com
User avatar
Flint
Power Member
Power Member
Posts: 3506
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

Post by *Flint »

Fixed only partially: the correct names are shown only after you close and reopen the dialog. But immediately after saving, the listbox still contains the wrong name: '??'
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 11.03 / Win10 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Strange, I will check that.
Author of Total Commander
https://www.ghisler.com
User avatar
Flint
Power Member
Power Member
Posts: 3506
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

Post by *Flint »

Confirm fixed the rest of the problem in 8.0β4. :)
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 11.03 / Win10 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Great, thanks!
Author of Total Commander
https://www.ghisler.com
Post Reply