or Connect
AppleInsider › Forums › General › Genius Bar › Characters like %20
New Posts  All Forums:Forum Nav:

Characters like %20

post #1 of 7
Thread Starter 
If you display a file in a web browesr that contains characters like spaces in the file name, the browser converts the non-standard characters into strings like %20. For example, if i create a file called "new index.html" it will display as "new%20index.html" this is all fine and dandy, but does anyonw know where I can find a list of all of these characters?

I'm building an application that is apparently throwing random characters in file names, but they aren't visible in the finder. what appears to be 25.html turns out to be %0D25.html. I don't know why it is doing this, but if I knew what character %0D stood for, that would at least be a clue...

thanks for your help.

[ 04-04-2002: Message edited by: Stroszek ]</p>
post #2 of 7
BBEdit has a table for this.

I'm sure you could find a reference if you do a google search as well.

%0D appears to be a return. How can you have a return in a file name?
--
AllInOne
Reply
--
AllInOne
Reply
post #3 of 7
Thread Starter 
[quote]Originally posted by AllInOne:
<strong>BBEdit has a table for this.

I'm sure you could find a reference if you do a google search as well.

%0D appears to be a return. How can you have a return in a file name?</strong><hr></blockquote>

Yeah, it does appear to be a return. I don't know how they are getting in there though, but in case you were wondering, files who's name begins with a return are placed before files that being with a 1 when listed by name in the finder. When you get info, the file name is blank also.

Who knew?!
post #4 of 7
First return on a google search for "html characters".
<a href="http://www.w3.org/MarkUp/html-spec/html-spec_13.html" target="_blank">Remember kids, google is your friend.</a>
post #5 of 7
Thread Starter 
[quote]Originally posted by kaboom:
<strong>First return on a google search for "html characters".
<a href="http://www.w3.org/MarkUp/html-spec/html-spec_13.html" target="_blank">Remember kids, google is your friend.</a></strong><hr></blockquote>

Thanks for the link, but %0D wasn't listed.
post #6 of 7
[quote]Originally posted by Stroszek:
<strong>

Thanks for the link, but %0D wasn't listed.</strong><hr></blockquote>

That's because it's in Hexadecimal. It would be the equivelant of %13. Here is the table I use (it has decimal and hex values):

<a href="http://acius.com/acidoc/cmu/CMU10119.htm" target="_blank">http://acius.com/acidoc/cmu/CMU10119.htm</a>
"Because the people who are crazy enough to think they can change the world, are the ones who do." - Think Different
Reply
"Because the people who are crazy enough to think they can change the world, are the ones who do." - Think Different
Reply
post #7 of 7
[quote]Originally posted by AllInOne:
<strong>%0D appears to be a return. How can you have a return in a file name?</strong><hr></blockquote>

This was one of those tricks I found a while back for making things appear first in the Classic Apple Menu. What you had to do was actually do a line break (return) in something like NotePad, and then on the next line write what you wanted the file to say. Then you copied the line break and the text, and pasted it into the file name. You don't actually see a space or anything in front of the file name, it's just sort of invisible.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Genius Bar
AppleInsider › Forums › General › Genius Bar › Characters like %20