Space in URL is getting encoded differently on different machines?

Prasanth Kalivarapu 26 Reputation points
2022-04-22T08:07:55.297+00:00

We are navigating to URL and URL contains a space is shown as below:
URL: www.google.com www.oracle.com

While navigating on machine 1: edge browser url showed www.google.com%20www.oracle.com
Same on Machine 2: edge browser url showed as www.google.com%C2%A0www.oracle.com

Is there any setting wrt to internet options to work differently?

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,355 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. XuDong Peng-MSFT 10,746 Reputation points Microsoft Vendor
    2022-04-25T09:13:47.303+00:00

    Hi @Prasanth Kalivarapu ,

    While navigating on machine 1: edge browser url showed www.google.com%20www.oracle.com
    Same on Machine 2: edge browser url showed as www.google.com%C2%A0www.oracle.com

    I looked up some relevant information and I found that they are not the same space, in the second url you provided, it is actually a Non-breaking Space. A simple using Bing :

    196018-image.png

    A normal space is url encoded as %20, and a non-breaking space is url encoded as %C2%A0. This caused your current problem, I suggest that they can be properly checked, and the normal space is a little wider than the non-breaking space in the text.

    Regards,
    Xudong Peng


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.