How should i do with the comments in 8.52a and 9.12 ?

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Tangent Lin
Junior Member
Junior Member
Posts: 16
Joined: 2005-03-13, 04:52 UTC

How should i do with the comments in 8.52a and 9.12 ?

Post by *Tangent Lin »

I had put some comments in the dirs with TC 8.52a in PC1.
Today I put some comments in the dirs with TC 9.12 in PC2, then copy it to PC1.
I find the comments made by TC9.12 can not read by TC 8.52a in PC1, and then TC9.12 can not read the comments made by TC8.52a in PC2.

I don't want to re-input the comments again , how should i do ?

TC8.52a 32bit with Windows 2008R2_x64_SimpleChinese @PC1
TC9.12 32bit with Windows 7_x64_SimpleChinese @PC2

1. screenshot @PC1_TC8.52a
Image: https://s1.ax1x.com/2018/04/01/9zKrSH.jpg
2. screenshot @PC2_TC9.12
Image: https://s1.ax1x.com/2018/04/01/9zK0YD.jpg
3. screenshot @PC2 copy dir to PC1
Image: https://s1.ax1x.com/2018/04/01/9zKBfe.jpg
4. screenshot @PC1 TC8.52a can not read the comments made by TC9.12
Image: https://s1.ax1x.com/2018/04/01/9zKwFO.jpg
5. screenshot @PC2 TC9.12 can not read the comments made by TC8.52a
Image: https://s1.ax1x.com/2018/04/01/9zKsld.jpg
6. screenshot @PC2 TC9.12 setting
Image: https://s1.ax1x.com/2018/04/01/9zKy6A.jpg
Last edited by Tangent Lin on 2018-04-01, 10:35 UTC, edited 7 times in total.
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

In TC 9.12 you can choose several formats for the descript.ion files - see: http://madsenworld.dk/tcmd/description.png

TC 8.52a could only save as plain text.

By default TC 9.12 uses "Plain text+UTF16", so if that is your current TC 9.12 setting, then that is the reason why your TC 8.52a cannot read the new descript.ion files - you should convert your TC 9.12 descript.ion to ANSI before you do the copying from TC 9.12 to TC 8.52a
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Tangent Lin
Junior Member
Junior Member
Posts: 16
Joined: 2005-03-13, 04:52 UTC

Post by *Tangent Lin »

petermad wrote:In TC 9.12 you can choose several formats for the descript.ion files - see: http://madsenworld.dk/tcmd/description.png

TC 8.52a could only save as plain text.

By default TC 9.12 uses "Plain text+UTF16", so if that is your current TC 9.12 setting, then that is the reason why your TC 8.52a cannot read the new descript.ion files
TC9.12 default setting uses "Unicode UTF8" in my PC2.
you should convert your TC 9.12 descript.ion to ANSI before you do the copying from TC 9.12 to TC 8.52a
It seens not an easy thing to me , more detail operation descriptions , please !
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

TC9.12 default setting uses "Unicode UTF8" in my PC2.
Hmm, when I start TC 9.12 with a clean wincmd.ini file, it uses "Plain text+UTF16" - that's why I assume it is the default.
It seens not an easy thing to me , more detail operation descriptions , please !
You should be able to do that in Windows Notepad:
1. Open the descript.ion file in Notepad
2. Choose "File" -> "Save As..."
3. In the bottom of the dialog at "Encoding" choose ANSI in stead of UTF-8
4. Save the file - make sure it is not saved as descript.ion.txt
5. Open the file in TC's Lister (F3) and choose "Options" - there should now be a checkmark at "1 Text only" in stead of in "7 UTF-8".
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Tangent Lin
Junior Member
Junior Member
Posts: 16
Joined: 2005-03-13, 04:52 UTC

Post by *Tangent Lin »

It seens not an easy thing to me , more detail operation descriptions , please !
You should be able to do that in Windows Notepad:
1. Open the descript.ion file in Notepad
2. Choose "File" -> "Save As..."
3. In the bottom of the dialog at "Encoding" choose ANSI in stead of UTF-8
4. Save the file - make sure it is not saved as descript.ion.txt
5. Open the file in TC's Lister (F3) and choose "Options" - there should now be a checkmark at "1 Text only" in stead of in "7 UTF-8".
Thanks for your reply !
I will try for it .
Tangent Lin
Junior Member
Junior Member
Posts: 16
Joined: 2005-03-13, 04:52 UTC

Re: How should i do with the comments in 8.52a and 9.12 ?

Post by *Tangent Lin »

Tangent Lin wrote: 4. screenshot @PC1 TC8.52a can not read the comments made by TC9.12
Image: https://s1.ax1x.com/2018/04/01/9zKwFO.jpg
In my PC2 after set the descript.ion encode to [Plain Text] , I still get the [UTF8] encode descript.ion in shared dir in PC1 when i had edited the content of description with CTRL + Z.
So i think TC9.12 will not convert descript.ion@UTF8 to descript.ion@Plain_Text directly. And still TC8.52a can not read that descript.ion .

Then i deleted descript.ion@UTF8 , and re-enter the content of the description , i get the descript.ion@Plain_Text and TC8.52a can read that descript.ion .
Tangent Lin
Junior Member
Junior Member
Posts: 16
Joined: 2005-03-13, 04:52 UTC

Re: How should i do with the comments in 8.52a and 9.12 ?

Post by *Tangent Lin »

Tangent Lin wrote: 5. screenshot @PC2 TC9.12 can not read the comments made by TC8.52a
Image: https://s1.ax1x.com/2018/04/01/9zKsld.jpg
6. This problem cause by the reason i don't know.
Open the file(descript.ion) in TC's Lister (F3) and choose "Options"

6.1 - with checkmark at "7 UTF-8" , first several lines display correctly, and the other lines are mass. TC8.52a can not deal with lines that display correctly linked to the dirs , and TC9.12 can not deal with them either .

6.2 - with checkmark at "1 Text only" , first several lines display mass, and the other lines display correctly. TC8.52a can deal with lines that display correctly linked to the dirs , but TC9.12 still can not deal with them all.

7. What i had tried to deal with the problem:
7.1 Copy that descript.ion as file_d1 and file_d2.
7.2 Opened file_d1 with WINHEX , deleted the firest several lines that display correctly in 'UTF-8' mode , and saved file_d1.
7.3 Opened file_d1 with Lister(F3) , the checkmark at "1 Text only" automatically set by Lister .
7.4 Delected descript.ion , and copied file_d1 as descript.ion .

TC8.52a and TC9.12 all read that descript.ion correctly this time.

And i still can not deal with " the firest several lines that display correctly in 'UTF-8' mode " @7.2
Tangent Lin
Junior Member
Junior Member
Posts: 16
Joined: 2005-03-13, 04:52 UTC

Post by *Tangent Lin »

Users should be warned when they want to update from TC8.52a to TC9.12 with the usage of file / directory comments encode setting .

For the user like me should set the comments file type to [Plain Text] to keep the compablity after the new version installation.
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Users should be warned when they want to update from TC8.52a to TC9.12 with the usage of file / directory comments encode setting .

For the user like me should set the comments file type to [Plain Text] to keep the compablity after the new version installation.
You are quite right. :!:

I don't think TC 9.x should silently change the format from "Plain text" to "Plain text+UFT16" - especialy not when upgrading an existing version of TC prior to 9.x
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

TC 9.12 still uses plain text for comments using the same encoding as the current default encoding (e.g. Western). It only uses UTF-16 when you enter comments with characters not belonging to the current code page, or when the file name contains such characters. TC 8.x would only store ? instead of these characters.
Author of Total Commander
https://www.ghisler.com
Post Reply