TC unicode conversion - status update
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
2BeckYang
Please click on the "font" button and choose a bit larger font.
Btw, good news - I have implemented UTF-8 support via on the fly conversion of the current line to UTF-16, and it's working very well! But currently you can compare only two UTF-8 files with each other. I will implement also the comparison of an UTF-8 file with an UTF-16 file, but probably not an UTF-8 file with an Ansi file.
Please click on the "font" button and choose a bit larger font.
Btw, good news - I have implemented UTF-8 support via on the fly conversion of the current line to UTF-16, and it's working very well! But currently you can compare only two UTF-8 files with each other. I will implement also the comparison of an UTF-8 file with an UTF-16 file, but probably not an UTF-8 file with an Ansi file.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
The most---
2ghisler(Author)
Good evening !
• That's really nice to hear, thanks ! I missed to compare some language files UTF-8 –> <–UTF-8 (i.e. for 7Z…).
- It's the most needed and useful, I guess.
VG
Claude
Clo

• That's really nice to hear, thanks ! I missed to compare some language files UTF-8 –> <–UTF-8 (i.e. for 7Z…).
- It's the most needed and useful, I guess.

Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
I try the "font" button and change font charset.ghisler(Author) wrote:2BeckYang
Please click on the "font" button and choose a bit larger font.
Btw, good news - I have implemented UTF-8 support via on the fly conversion of the current line to UTF-16, and it's working very well! But currently you can compare only two UTF-8 files with each other. I will implement also the comparison of an UTF-8 file with an UTF-16 file, but probably not an UTF-8 file with an Ansi file.
But it does not help, no font support "UTF-8" charset.
I need TC convert the string to unicode or ??? like TC's internal viewer does.
And make compare result windows display these chars correctly.
For example, here is the screen capture of file1.txt
Image: http://server2.uploadit.org/files/ylonggyahoo-tc_view.jpg
The left side display file in "Text" and right side display the file in "UTF-8".
Referent the compare result window that I posted before.
Image: http://server2.uploadit.org/files/ylonggyahoo-tc_compare.jpg
The chars in compare result window is the same as "Text" which is not able to identify by us. What we need is display it as "UTF-8".
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
You misunderstood me. I wrote that I just implemented it, it's for the next big version 7.5! Currently there is no UTF-8 support in Compare by contents, sorry. You have to convert it to UTF-16 (Unicode in Notepad) or Ansi.I try the "font" button and change font charset.
But it does not help, no font support "UTF-8" charset.
I need TC convert the string to unicode or ??? like TC's internal viewer does.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
2ghisler(Author)
It would e.g. be useful to compare REGEDIT4 and REGEDIT 5.0 files.
In C there are WideCharToMultiByte() and MultiByteToWideChar().
Usage example by MS
Why not, is converting on the fly more difficult there?but probably not an UTF-8 file with an Ansi file.
It would e.g. be useful to compare REGEDIT4 and REGEDIT 5.0 files.
In C there are WideCharToMultiByte() and MultiByteToWideChar().
Usage example by MS
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
-- TC starter menu: Fast yet descriptive command access!
I apologize for it.
You misunderstood me. I wrote that I just implemented it, it's for the next big version 7.5! Currently there is no UTF-8 support in Compare by contents, sorry. You have to convert it to UTF-16 (Unicode in Notepad) or Ansi.

Please consider to support this fucntion in future version.
Thanks for your wonderful work. TC really help me so much~
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
In the meantime, I have converted also the following functions to Unicode:
- background transfer manager
- synchronize dirs
- encode/decode
- split/combine
- create/verify CRC checksums
- most configuration dialogs
- all trees
- search function
- port connection
- ignore list
- ZIP extraction and creation (info-zip and pkzip methods)
- FTP (user can choose any encoding he likes, including UTF8)
- print functions
- Associate
- Compare by contents
- Set Volume Label
I haven't converted the following yet:
- comments - I see no way to convert this so far
- Custom Columns setup - or is that included in "custom view".
- Choose Command - the commands are in English, so it should be no problem
- background transfer manager
- synchronize dirs
- encode/decode
- split/combine
- create/verify CRC checksums
- most configuration dialogs
- all trees
- search function
- port connection
- ignore list
- ZIP extraction and creation (info-zip and pkzip methods)
- FTP (user can choose any encoding he likes, including UTF8)
- print functions
- Associate
- Compare by contents
- Set Volume Label
I haven't converted the following yet:
- comments - I see no way to convert this so far
- Custom Columns setup - or is that included in "custom view".
- Choose Command - the commands are in English, so it should be no problem
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
2ghisler(Author)
BTW: Have you completed Unicode support meanwhile? It seems you are already working on other features.
The question is if all these servers where UTF-8 is enabled by default can be detected as such. In my case the server lists TVFS as supported feature which indicates UTF-8 is enabled by default. Maybe there are other servers with similar feaures which also indicate that UTF-8 is supported? If this is the case a list of servers which support UTF-8 by a certain feature could be maintained.doesn't work with servers where UTF-8 is enabled by default and cannot be turned off. Any ideas how to auto-detect these?
BTW: Have you completed Unicode support meanwhile? It seems you are already working on other features.
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I'm still fixing bugs regarding Unicode features which show up only over the time, but I have finished most of the conversion. I couldn't add unicode support to descript.ion because it would break the format, though.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Do these files have an alternate DOS name which isn't Unicode? You can check this by turning off long names temporarily in the configuration. If they haven't, then there can be problems opening them.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
That's it. The .rmvb has a short name extension .rmv which is not assigned to the player I use. After registering the extension type, the problem is solved.
ghisler(Author) wrote:Do these files have an alternate DOS name which isn't Unicode? You can check this by turning off long names temporarily in the configuration. If they haven't, then there can be problems opening them.