|
|
File without a name!
|
|
|
|
Mac Elite
Join Date: Jul 2001
Location: Switzerland
Status:
Offline
|
|
A friend has just sent me a file that has no name whasoever. It appears as an attachment blank icon with no text in mail.app. Saving this file to the desktop results, again, in a blank file (white paper) icon that has no name. Changing the name is impossible, there's no text input showing up.
LS in Terminal shows the file as ??.
FielBuddy and PathFinder both show the file as being named " ".
It is possible to give the file a name in Finder using Get Info, but one has to delete those first two empty spaces/unreadable characters.
What sort of character would not display at all in OS X? And why can a file with a name that can't be displayed be saved to the desktop (or wherever) in the first place?
|
MBP 15" 2.33GHz C2D 3GB 2*23" ACD
|
|
|
|
|
|
|
|
Admin Emeritus
Join Date: Oct 1999
Location: Zurich, Switzerland
Status:
Offline
|
|
There are many characters that don't display, as well as literally thousands more that OS X simply doesn't have fonts for.
Can you use the Get Info window in the Finder to just Select All in the actual file name, and then delete that and type or paste in a new name?
tooki
|
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status:
Offline
|
|
Originally Posted by tooki
There are many characters that don't display, as well as literally thousands more that OS X simply doesn't have fonts for.
But if it didn't have the font, I'd think it would show a character-not-found glyph. It sounds like this is a carriage return or something.
|
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
|
|
|
|
|
|
|
|
Admin Emeritus
Join Date: Oct 1999
Location: Zurich, Switzerland
Status:
Offline
|
|
Normally, yes. Hence why I specifically mentioned "characters that don't display", too.
tooki
|
|
|
|
|
|
|
|
|
Posting Junkie
Join Date: Dec 2000
Status:
Offline
|
|
It could be a non-breaking space. A non-breaking space is a character you can enter by typing option-space. It looks exactly like an ordinary space, but the system doesn't see it as one, so two words divided by a non-breaking space will get recognized as one word by the system, and thus the two words won't get separated by auto-wrap or other such features. And, a non-breaking space will show up as ?? in the Terminal.
Of course, if you want to know what it is for sure, you can just copy the character in the title into the Character Palette...
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Jul 2001
Location: Switzerland
Status:
Offline
|
|
Originally Posted by CharlesS
Of course, if you want to know what it is for sure, you can just copy the character in the title into the Character Palette...
How would I do that? I've copied one of the mysterious characters in the Get-Info window, and I've managed to find the character palette... but how do I paste anything into it? Pasting into the character palette search field pastes nothing. In BBEdit, pasting "it" at least shows an empty space.
Thanks for the tips.
|
MBP 15" 2.33GHz C2D 3GB 2*23" ACD
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Jul 2001
Location: Switzerland
Status:
Offline
|
|
Sorry... Safari/NSsomething-or-other error double post
BTW: Anyone interested in playing around with this thing, pipe up. (Don't worry, it can be deleted in the finder and is, I hope, quite harmless: it's part of a font file that did not beam right).
|
MBP 15" 2.33GHz C2D 3GB 2*23" ACD
|
|
|
|
|
|
|
|
Admin Emeritus
Join Date: Oct 1999
Location: Zurich, Switzerland
Status:
Offline
|
|
Originally Posted by workerbee
How would I do that? I've copied one of the mysterious characters in the Get-Info window, and I've managed to find the character palette... but how do I paste anything into it? Pasting into the character palette search field pastes nothing. In BBEdit, pasting "it" at least shows an empty space.
Thanks for the tips.
Get Info (command-i) on the file. Open the "Name & Extension" section. Click in it. Select All (command-a). Type in a new name.
tooki
|
|
|
|
|
|
|
|
|
Posting Junkie
Join Date: Dec 2000
Status:
Offline
|
|
Here's an idea: Copy the characters, then download HexEdit (available from MacUpdate/VersionTracker) and paste the characters into the right-hand side. See what hex characters show up in the left hand side, and post them here.
|
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Jan 2003
Status:
Offline
|
|
Yahoo! Mail allows you to preview attachments. Maybe you could forward this attachment to a Yahoo account and preview it?
|
|
|
|
|
|
|
|
|
Admin Emeritus
Join Date: Oct 1999
Location: Zurich, Switzerland
Status:
Offline
|
|
Who go to the trouble of doing that when you could just rename it in the Finder using the instructions I gave above?
tooki
|
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Jan 2003
Status:
Offline
|
|
Maybe he wants to add some spice to his life?
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Jul 2001
Location: Switzerland
Status:
Offline
|
|
Originally Posted by f1000
Maybe he wants to add some spice to his life?
hehe...
I'm perfectly aware of the fact that I can rename the file in the Finder (tooki: I did describe it in the very first post), in FileBuddy and in PathFinder. What I'm interested in is - Why is it possible to have a filename that no software can display?
- What are the characters that do not display?
- Could this not somehow possibly be misused (set another icon for the file, and you have a totally invisible file)?
|
MBP 15" 2.33GHz C2D 3GB 2*23" ACD
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Jul 2001
Location: Switzerland
Status:
Offline
|
|
Originally Posted by f1000
Yahoo! Mail allows you to preview attachments. Maybe you could forward this attachment to a Yahoo account and preview it?
The content of the file are no mystery: my trusty BBEdit opens (almost) everything. As said above, it is a font file that probably suffered severe damage (think: hacked to pieces) somewhere along the way.
It's the file name I'm interested in.
|
MBP 15" 2.33GHz C2D 3GB 2*23" ACD
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Jul 2001
Location: Switzerland
Status:
Offline
|
|
Originally Posted by CharlesS
Here's an idea: Copy the characters, then download HexEdit (available from MacUpdate/VersionTracker) and paste the characters into the right-hand side. See what hex characters show up in the left hand side, and post them here.
Thanks Charles -- that's what I got...
And this is what the file looks like when I select it in the Finder:
|
MBP 15" 2.33GHz C2D 3GB 2*23" ACD
|
|
|
|
|
|
|
|
Posting Junkie
Join Date: Dec 2000
Status:
Offline
|
|
The first character, 0x16, is SYN, or "synchronous idle." According to this site, the definition of synchronous idle is:
synchronous idle character (SYN): A transmission control character used in synchronous transmission systems to provide a signal from which synchronism or synchronous correction may be achieved between data terminal equipment, particularly when no other character is being transmitted.
The second character, 0x07, is BEL, the "bell tone", which back in the good old BBS days was the character that was sent by the ISP to tell your terminal emulator to beep. It used to be typeable via control-G, which resulted in many great pranks being possible back then. For example, on an old BBS I used to be on in the early 90s, there was a bug that allowed you to be able to enter control characters by entering a carat in the subject header of an e-mail. So, you could send someone a message with a subject of ^G^G^G^G^G^G and make their computer beep a bunch of times when they received it.
Anyway, both are characters that were not intended to be used in streams of readable text, so they do not display in OS X. As a result, if you have a file name with only these characters in it, the file appears to have no name (although you can still rename it by clicking on the file and hitting the Return key).
BTW, if you type 1607 into the left side in HexEdit, and then copy the two dots that show up in the right side, and then you try to save a file in any application and paste into the "Save As" box, you should be able to make another file like the one you already have.
|
|
|
|
|
|
|
|
|
Admin Emeritus
Join Date: Oct 1999
Location: Zurich, Switzerland
Status:
Offline
|
|
Originally Posted by workerbee
hehe...
I'm perfectly aware of the fact that I can rename the file in the Finder (tooki: I did describe it in the very first post)...
You said "but you have to delete the characters first", which you implied wasn't possible because it's not selectable. I gave you a way around this.
No need to get angry.
tooki
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Jul 2001
Location: Switzerland
Status:
Offline
|
|
Originally Posted by tooki
No need to get angry.
Tooki: I wasn't angry at all (wouldn't know why I should be)... sorry if that's the impression it gave.
|
MBP 15" 2.33GHz C2D 3GB 2*23" ACD
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|