[x64 Beta 22] Broken unicode filename in ZIP, RAR
Moderators: Hacker, petermad, Stefan2, white
[x64 Beta 22] Broken unicode filename in ZIP, RAR
I'm sorry. I don't speak English very well.
totalcmd beta 22 x64 verision is broken unicode filename in ZIP, RAR.
32bit version is OK.
sample files (test.rar, test.zip)
http://www.mediafire.com/?76okqkfmf6isr1s
http://www.mediafire.com/?cc7s7vjcu8lwapc
Clipboard-1.png:[img]http://imageupload.org/thumb/thumb_195365.png[/img]
original filename: æ–‡å—ç‰.txt
filename in x64: ________.txt
totalcmd beta 22 x64 verision is broken unicode filename in ZIP, RAR.
32bit version is OK.
sample files (test.rar, test.zip)
http://www.mediafire.com/?76okqkfmf6isr1s
http://www.mediafire.com/?cc7s7vjcu8lwapc
Clipboard-1.png:[img]http://imageupload.org/thumb/thumb_195365.png[/img]
original filename: æ–‡å—ç‰.txt
filename in x64: ________.txt
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Thanks, I could reproduce the problem. It's a bug in the Free Pascal compiler copying a widechar character (<255) to a char variable.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Hmm, I get varius results from the two test files
TC 8.0b22 32bit under WinXP 32bit
http://madsenworld.dk/tcmd/unicodearc1.png
TC 8.0b22 32bit under Win 7 x64
http://madsenworld.dk/tcmd/unicodearc2.png
(it looks the same in TC 7.56a under Win 7 x64)
TC 8.0b22 64bit under Win 7 x64
http://madsenworld.dk/tcmd/unicodearc3.png
The file æ–‡å—ç‰.txt from text.rar can NOT be unpacked with TC 8.0b22 x64. Message "Disk read error!".
I am using standard Microsoft Sans Serif font in all tree versions of TC.
TC 8.0b22 32bit under WinXP 32bit
http://madsenworld.dk/tcmd/unicodearc1.png
TC 8.0b22 32bit under Win 7 x64
http://madsenworld.dk/tcmd/unicodearc2.png
(it looks the same in TC 7.56a under Win 7 x64)
TC 8.0b22 64bit under Win 7 x64
http://madsenworld.dk/tcmd/unicodearc3.png
The file æ–‡å—ç‰.txt from text.rar can NOT be unpacked with TC 8.0b22 x64. Message "Disk read error!".
I am using standard Microsoft Sans Serif font in all tree versions of TC.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
32bit on Win7 x64 shows the right thing. The name seems to contain some unprintable Unicode characters which Windows XP isn't able to handle, but Windows 7 can. XP shows them as squares, which it always does with unknown Unicode characters.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Hmm - I can understand that the dispaly can be different for different OS'es, but it is also different for the same OS for 32bit and 64bit TC.
Last edited by petermad on 2012-03-11, 16:56 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I can only say that these unprintable characters are not displayed on Windows 7 although they are definitely there.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
In TC8.0b23 x64 under Win 7 the content of the two test files is now shown the same way as in the 32bit version < http://madsenworld.dk/tcmd/unicodearc2.png >, and it is shown the same way in the zip and the rar file.
Under Win XP 32 bit the content is still shown in a different way < http://madsenworld.dk/tcmd/unicodearc1.png >
I can now also unpack from the rar file.
So I'd say the bug is fixed
Under Win XP 32 bit the content is still shown in a different way < http://madsenworld.dk/tcmd/unicodearc1.png >
I can now also unpack from the rar file.
So I'd say the bug is fixed

License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Great, thanks!
2petermad
The 32-bit and 64-bit versions now show the same name on XP, although it differs from what Windows 7 shows. These characters shown as squares are not displayed on Windows 7, but they are definitely there.
2petermad
The 32-bit and 64-bit versions now show the same name on XP, although it differs from what Windows 7 shows. These characters shown as squares are not displayed on Windows 7, but they are definitely there.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com