interesting url encoding.... ;o)

i tested other sharing places and delicious just drops in _

http://creativemaps.vism.ag/1b.htm?Jimmy_s_place

email treats it like this:

http://creativemaps.vism.ag/1b.htm?Jimmy%27s+place


Is it not possible to just strip out spaces and special characters from the
url completely and still link to a marker?

so this title of a marker is:

Jimmy's Place

url encoded is:

http://creativemaps.vism.ag/1b.htm?Jimmysplace

... this then surely wont have any ascii % encoding issues of different
services to share too as all seem to handle the ? character without it
changing or transmitting as % or anything.

i could even take out all special characters from titles of markers and
then its just a case of removing spaces and then rather than encode them
through % just remove them from the url completely to leave this:

http://creativemaps.vism.ag/1b.htm?Jimmysplace

would it still work and take them to the pin like this
http://creativemaps.vism.ag/1b.htm?Jimmy%27s%20place does?

all help really appreciated.

thanks

chris

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to