Error with md5-file in UTF format
Moderators: Hacker, petermad, Stefan2, white
Error with md5-file in UTF format
If the md5-file in UTF format, TC can not correctly identify the name of the file and check the checksum.
Error with Cyrillic file names.
Example:
http://rghost.ru/38396006
Error with Cyrillic file names.
Example:
http://rghost.ru/38396006
Re: Error with md5-file in UTF format
There is no BOM in the md5 file. Should the md5 file be detected as UTF?LonerD wrote:If the md5-file in UTF format, TC can not correctly identify the name of the file and check the checksum.
Error with Cyrillic file names.
- ghisler(Author)
- Site Admin
- Posts: 50873
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
TC currently only detects UTF-8 checksum files by BOM. UTF-16 checksum files are also detected without BOM by the location of 0 bytes within the file, which do not appear in ANSI or UTF-8 files.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
ghisler
Can you add UTF-16 ?
Some programs create md5-checksum files in this format, and Total can't check this checksum correctly.
Can you add UTF-16 ?
Some programs create md5-checksum files in this format, and Total can't check this checksum correctly.
"I used to feel guilty in Cambridge that I spent all day playing games, while I was supposed to be doing mathematics. Then, when I discovered surreal numbers, I realized that playing games IS math." John Horton Conway
- ghisler(Author)
- Site Admin
- Posts: 50873
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Actually UTF-16 should already work with and without BOM.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
ghisler(Author)
Please, add all varians for checksum files - UTF-16 (LE/BE) and UTF-8 with ВОМ/without BOM.
Please, add all varians for checksum files - UTF-16 (LE/BE) and UTF-8 with ВОМ/without BOM.
"I used to feel guilty in Cambridge that I spent all day playing games, while I was supposed to be doing mathematics. Then, when I discovered surreal numbers, I realized that playing games IS math." John Horton Conway
In first post.Do you have an example that does not work?
Files with Cyrillic names.
"I used to feel guilty in Cambridge that I spent all day playing games, while I was supposed to be doing mathematics. Then, when I discovered surreal numbers, I realized that playing games IS math." John Horton Conway
Actually.
Example:
http://rghost.ru/48427211
File with cyrillic name Файл.txt
md5-file generated with Fsum Frontend
TC cann't check this file with command cm_CRCcheck.
Error:
"Cannot open input file Файл.txt !"
Example:
http://rghost.ru/48427211
File with cyrillic name Файл.txt
md5-file generated with Fsum Frontend
TC cann't check this file with command cm_CRCcheck.
Error:
"Cannot open input file Файл.txt !"
- ghisler(Author)
- Site Admin
- Posts: 50873
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Unfortunately the file is missing the UTF-8 byte order marker (BOM). Therefore TC assumes that it's an ANSI file. If you open the file with notepad and just save it, then the check works.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I've tested such scenario:
1. Gen md5 file by TC (in cp1251)
2a. ReSave this md5 file to utf8 by AkelPad
2b. ReSave this md5 file to utf16le by AkelPad
Both "2a" and "2b" files are valid for TC and md5-check works fine.
1. Gen md5 file by TC (in cp1251)
2a. ReSave this md5 file to utf8 by AkelPad
2b. ReSave this md5 file to utf16le by AkelPad
Both "2a" and "2b" files are valid for TC and md5-check works fine.
Ukrainian Total Commander Translator. Feedback and discuss.