Why do all my files contain %20 for spaces unless manually renamed?

  • Thread starter Android Central Question
  • Start date
A

Android Central Question

Every time I download a file (say, a pdf) from google drive or the internet, all spaces are replaced with %20 (and commas with %2C, etc.). When I create a new Word document with spaces, the same thing happens. How do I prevent this from happening? When I re-upload the pdf or document I have to manually rename them.

FWIW, it's happening on my kindle hd 10 (Fire OS 5.6.1.0) but does not happen on my Galaxy 8+ (android 8.0.0) or kindle hd 7 (android 5.1.1)
 

Mooncatt

Ambassador
Feb 23, 2011
10,720
279
83
Visit site
In terms of a URL, spaces and commas are not allowed. The ASCII equivalent of a "space" is %20, so any spaces in a URL are translated as such. That includes any spaces within the file name.

You could not have:
"Website.com/file name.abc"

It would be converted to:
"Website.com/file%20name.abc"

If the space were left in there, it would be:
"Website.com/file" (which would be a folder named "file" at the Website URL) and then the "name.abc" would be seen as something else and likely generate an error.
 

Trending Posts

Forum statistics

Threads
942,408
Messages
6,913,955
Members
3,158,401
Latest member
SandiR