Unicode characters support for plugins Diskdir

Here you can propose new features, make suggestions etc.

Moderators: white, sheep, Hacker, Stefan2

Post Reply
rmmaniac
Junior Member
Junior Member
Posts: 17
Joined: 2009-04-14, 05:56 UTC

Unicode characters support for plugins Diskdir

Post by *rmmaniac » 2018-09-21, 00:59 UTC

it is possible add Unicode characters support for plugins Diskdir
Diskdir without updated since 2012 :cry: :cry: :cry:

User avatar
Usher
Member
Member
Posts: 122
Joined: 2011-03-11, 10:11 UTC

Re: Unicode characters support for plugins Diskdir

Post by *Usher » 2018-09-21, 01:20 UTC

There is already DiskDirW: http://totalcmd.net/plugring/diskdirw.html
…but it would be nice to have DiskDirExtendedW as well…
Regards from Poland
Andrzej P. Wozniak

rmmaniac
Junior Member
Junior Member
Posts: 17
Joined: 2009-04-14, 05:56 UTC

Re: Unicode characters support for plugins Diskdir

Post by *rmmaniac » 2018-09-21, 02:17 UTC

thank
but this DiskDirW plugins pack Unicode characters appeared gibberish :?: :?: :?:

User avatar
Usher
Member
Member
Posts: 122
Joined: 2011-03-11, 10:11 UTC

Re: Unicode characters support for plugins Diskdir

Post by *Usher » 2018-09-21, 14:27 UTC

Could provide some examples and explain what exactly do you mean, please?
Regards from Poland
Andrzej P. Wozniak

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

Re: Unicode characters support for plugins Diskdir

Post by *MVV » 2018-09-21, 15:01 UTC

Usher wrote:
2018-09-21, 01:20 UTC
…but it would be nice to have DiskDirExtendedW as well…
It would be great, but I'm afraid its author won't update it anymore.

User avatar
Usher
Member
Member
Posts: 122
Joined: 2011-03-11, 10:11 UTC

Re: Unicode characters support for plugins Diskdir

Post by *Usher » 2018-09-21, 16:46 UTC

MVV wrote:
2018-09-21, 15:01 UTC
It would be great, but I'm afraid its author won't update it anymore.
What about source code availability?
Regards from Poland
Andrzej P. Wozniak

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

Re: Unicode characters support for plugins Diskdir

Post by *MVV » 2018-09-21, 17:08 UTC

It seems that sources are available.

rmmaniac
Junior Member
Junior Member
Posts: 17
Joined: 2009-04-14, 05:56 UTC

Re: Unicode characters support for plugins Diskdir

Post by *rmmaniac » 2018-09-23, 01:59 UTC

for example my origine filename is -> 口才的奧義:說話高手的基本常識課.pdf
but after pack withDiskDirW .result is -> ????尼蝢抬?隤芾店擃???砍虜霅玨.pdf
Please Fix :cry: :cry: :cry:

User avatar
Usher
Member
Member
Posts: 122
Joined: 2011-03-11, 10:11 UTC

Re: Unicode characters support for plugins Diskdir

Post by *Usher » 2018-09-23, 09:47 UTC

It looks like a problem with fonts in your system. What OS and font do you use?
Do you have a problem with shorter name: 才的奧義說話高手的基本常識課.pdf as well?
Regards from Poland
Andrzej P. Wozniak

browny
Member
Member
Posts: 166
Joined: 2007-09-10, 13:19 UTC

Re: Unicode characters support for plugins Diskdir

Post by *browny » 2018-09-24, 10:27 UTC

Usher wrote:
2018-09-23, 09:47 UTC
It looks like a problem with fonts in your system.
No, it does not. The name is completely garbled.

I installed wcx_DiskDirW_1.1.2.zip in the latest Windows 10 32-bit, TC 9.21a.
Created a file with the name 口才的奧義:說話高手的基本常識課.pdf, and made a list file.
All file names in the list were correct.
Usher wrote:
2018-09-23, 09:47 UTC
What OS and font do you use?
Also It should be asked how the list file was opened.
The list is written in UTF-8 without a BOM, but default Windows encoding is UTF-16LE.

User avatar
Usher
Member
Member
Posts: 122
Joined: 2011-03-11, 10:11 UTC

Re: Unicode characters support for plugins Diskdir

Post by *Usher » 2018-09-24, 14:03 UTC

browny wrote:
2018-09-24, 10:27 UTC
Also It should be asked how the list file was opened.
You have NOT answered my questions, and now you have NOT named the software you use to display/edit the list file.
You don't know what may be important in this case so DO NOT IGNORE ANY DETAILS. Help us to help you, please, explain your problem using more words.
browny wrote:
2018-09-24, 10:27 UTC
The list is written in UTF-8 without a BOM, but default Windows encoding is UTF-16LE.
And the list format uses tabs as field separators, so you should be warned twice…

1. It's obvious that the list should be viewed as archive in TC panel via proper plugin. You should either remove standard DiskDir plugin or use another file extension (lsw or ddw for example) for lists created by DiskDirW.

2. Both UTF-8 and UTF-16 are Unicode Transformation Formats. I suppose that the author of modified plugin used UTF-8 for backward compatibility - file names containing Latin letters only should be displayed properly also with standard DiskDir and DiskDirExtended. But if you find more plausible reasons to convert plugin to work with UTF-16, maybe someone will do the job in the future – the source code is available for both DiskDirW and DiskDirExtended plugins.

3. Unicode standard clearly states that text in UTF-8 does NOT need BOM. It should be displayed properly in ANY GOOD, modern, properly configured viewer/editor. For example, Lister in TC displays lists from DiskDirW properly.

4. If you don't want to damage the list, you should NOT use editor configured to replace tabs with spaces.
Regards from Poland
Andrzej P. Wozniak

rmmaniac
Junior Member
Junior Member
Posts: 17
Joined: 2009-04-14, 05:56 UTC

Re: Unicode characters support for plugins Diskdir

Post by *rmmaniac » 2018-10-08, 15:13 UTC

my OS is windows xp sp3,TC v921a.
I try DiskDirW again to day.now filenames are correct .
I don't know why,may be it need restart TC or WINDOWS .
thank a lot for your help~~~

Post Reply