illegal characters are copied from mac file name

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
zaffi
Junior Member
Junior Member
Posts: 34
Joined: 2009-03-24, 08:50 UTC

illegal characters are copied from mac file name

Post by *zaffi »

i copied several files from flash drive, and the target file names contain the character '?'.

long story:

a friend with old Mac gave me a flash drive with files.

the files didn't open on my windows (errors involved file name).

so i tried to rename the files, and discovered that they contain an invisible character (the right/left arrow keys need to press twice at certain point in the filename textbox).

i wrote a program that found 0x3F (ascii 63) characters in the file names.

those characters were probably copied from the Mac.

I can't reproduce, because i don't have the flash drive anymore.

the good news:
total commander allowed me to rename this file to something else.

at the time of copying i was using total commander 8.0b3,
windows XP,
mac version - unknown (a few years old macbook)

if this is interesting i will try to find the original files.


Edit:
the illegal character is in the file NAME.

Edit2:
this might not be a bug by definition, but i think it should at least trigger a warning: character 0x3F is a question mark.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

TC tries to copy file names exactly as they are, and only reports an error if the underlying copy function reports an error too.
Author of Total Commander
https://www.ghisler.com
Post Reply