No unicode in SMB share descriptions

Please report only one bug per message!

Moderators: sheep, Hacker, Stefan2, white

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

No unicode in SMB share descriptions

Post by *Vasilich » 2019-08-16, 09:30 UTC

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: 38451
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: No unicode in SMB share descriptions

Post by *ghisler(Author) » 2019-08-19, 15:04 UTC

Where does TC show SMB share descriptions?
Author of Total Commander
http://www.ghisler.com

User avatar
Dalai
Power Member
Power Member
Posts: 6782
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: No unicode in SMB share descriptions

Post by *Dalai » 2019-08-19, 15:57 UTC

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

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

Re: No unicode in SMB share descriptions

Post by *Vasilich » 2019-08-22, 02:45 UTC

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: 38451
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: No unicode in SMB share descriptions

Post by *ghisler(Author) » 2019-08-22, 10:07 UTC

Ah, thanks, I never used these comments. I can confirm that it currently uses ANSI functions.
Author of Total Commander
http://www.ghisler.com

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

Re: No unicode in SMB share descriptions

Post by *Vasilich » 2019-08-22, 10:50 UTC

Any chance to correct this in future version?

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 38451
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: No unicode in SMB share descriptions

Post by *ghisler(Author) » 2019-08-26, 13:56 UTC

I have already changed it to Unicode in the meantime for the upcoming TC 9.50.
Author of Total Commander
http://www.ghisler.com

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

Re: No unicode in SMB share descriptions

Post by *Vasilich » 2019-08-26, 22:10 UTC

Great.
is there any chance to try it?

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 38451
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: No unicode in SMB share descriptions

Post by *ghisler(Author) » 2019-08-29, 10:56 UTC

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

Post Reply