Questions tagged [percent-encoding]

Percent-encoding (aka URL encoding) is the way that non-alphabet characters are encoded in URLs and URIs (e.g. spaces turn into %20).

See the full Wikipedia article on the subject: Percent-encoding

83 questions
0
votes
2 answers

How to form URI to access network machine with hostname containing extended characters

I have some Windows 7 machines on a local network, each with a hostname. One of them is running a Java 8 application that must access another machine via HTTP, so it needs to form a URI containing the server machine's hostname. The machine running…
Garret Wilson
  • 18,219
  • 30
  • 144
  • 272
0
votes
1 answer

encodeURIcomponent not replacing characters with correct encoding characters

When I do: encodeURIComponent('Cancún, Mexico'); It returns: Canc%C3%BAn%2C%20Mexico According to this: http://www.degraeve.com/reference/urlencoding.php The character: ú should be %FA but instead its %C3%BA why is this and how do I fix this…
Malcr001
  • 8,179
  • 9
  • 44
  • 57
0
votes
1 answer

Uri.parse(), how to get the encoding correct?

I am doing an application where I have to read a URL from a webpage as a String[Its not the address of the page]. The URL that I will be reading contains query string, and I specifically need two queries from that URL. So I am using the Uri class…
Writwick
  • 2,133
  • 6
  • 23
  • 54
0
votes
2 answers

OAUTH Parameter Encoding

When implementing OAUTH, I have the following problem. When creating the signature base, should encoded parameters be encoded again or should encoded parameters be left out of the encoding when normalizing parameters?
TheGuest
  • 415
  • 1
  • 4
  • 14
0
votes
2 answers

Amending css to percentages instead of pixels

I have recently created this WordPress site and have used pixels and margins to create the layout of the two semi-transparent content boxes. However, as I'm sure those more experienced than me are aware this is not at all responsive and not very…
jojo
  • 1
  • 3
-1
votes
2 answers

How to prevent Google Chrome and IE substituting '|' in URL with %7C

We have adapted an old website to use semantic URLs and - for a number of reasons - are unable to use a / as a seperator. Instead, we are using | as our seperator. For example: www.example.com/page|sub-page1|sub-sub-page2 Everything is working fine…
Richard Tinkler
  • 1,635
  • 3
  • 21
  • 41
-2
votes
3 answers

how to prevent conversion of %(number) to code

I have this line in PHP that is building a query parameter in PDO: $p[':criteria'] = '%' . $search . '%'; The line of MySQL in question looks like this: d.d_name LIKE :criteria The problem is if I put a number in $search, it's converting it to a…
raphael75
  • 2,982
  • 4
  • 29
  • 44
-3
votes
1 answer

NSString to NSURL returns false

I have a URL which is in a string: http://bs.serving-sys.com/BurstingPipe/adServer.bs?cn=is&c=23&pl=VAST&pli=10226041&PluID=0&pos=6670&ord=%5B1423164382.84%5D&cim=1 I am trying to convert that string to NSURL. I've tried several things, which…
Onder OZCAN
  • 1,556
  • 1
  • 16
  • 36
1 2 3 4 5
6