No unicode in SMB share descriptions

Please report only one bug per message!

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Vasilich
Junior Member
Junior Member
Posts: 43
Joined: 2009-08-05, 08:26 UTC
Location: Mayence, Germany

No unicode in SMB share descriptions

Post by *Vasilich »

It seems that TC assumes that descriptions in SMB shares are always ANSI-encoded. It always shows those converted to CP_ACP, so all descriptions that are not fit in CP_ACP codepage, are shown as question marks.
The share names itself show unicode names, as expected.
I have checked how it looks in windows explorer - it shows correct chars (supports unicode).

Is there any chance to correct this?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: No unicode in SMB share descriptions

Post by *ghisler(Author) »

Where does TC show SMB share descriptions?
Author of Total Commander
https://www.ghisler.com
User avatar
Dalai
Power Member
Power Member
Posts: 9364
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: No unicode in SMB share descriptions

Post by *Dalai »

Share descriptions are shown in the Size column when TC shows the contents of a server \\server. If there is no description for a share, TC just shows the generic <DIR>.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Vasilich
Junior Member
Junior Member
Posts: 43
Joined: 2009-08-05, 08:26 UTC
Location: Mayence, Germany

Re: No unicode in SMB share descriptions

Post by *Vasilich »

Here is the screenshot of how it looks like in TC and below - in Windows explorer
Image: https://i.ibb.co/j3ChSPW/TCMD-SMB-Descr.png
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: No unicode in SMB share descriptions

Post by *ghisler(Author) »

Ah, thanks, I never used these comments. I can confirm that it currently uses ANSI functions.
Author of Total Commander
https://www.ghisler.com
Vasilich
Junior Member
Junior Member
Posts: 43
Joined: 2009-08-05, 08:26 UTC
Location: Mayence, Germany

Re: No unicode in SMB share descriptions

Post by *Vasilich »

Any chance to correct this in future version?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: No unicode in SMB share descriptions

Post by *ghisler(Author) »

I have already changed it to Unicode in the meantime for the upcoming TC 9.50.
Author of Total Commander
https://www.ghisler.com
Vasilich
Junior Member
Junior Member
Posts: 43
Joined: 2009-08-05, 08:26 UTC
Location: Mayence, Germany

Re: No unicode in SMB share descriptions

Post by *Vasilich »

Great.
is there any chance to try it?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: No unicode in SMB share descriptions

Post by *ghisler(Author) »

There will be a public beta test soon.
Author of Total Commander
https://www.ghisler.com
Post Reply