May I ask what character "'%c2%a0 ' is this?"

Source: Internet
Author: User
Today, "read text file", found that the two-character blank text, not a space. urlencodefound with this function.
What character is this? Why is there such a character appearing?

Reply content:

Today, "read text file", found that the two-character blank text, not a space. urlencodefound with this function.
What character is this? Why is there such a character appearing?

Document: http://php.net/manual/zh/function.urlencode.php
This function facilitates the encoding of a string and its use in the request portion of the URL

I use JavaScript to test that the blank text seems to be a character

We found out %C2%A0 who it was, http://en.wikipedia.org/wiki/Non-breaking_space.
It's a Chinese word. 
Http://www.cnblogs.com/qdwang/archive/2012/06/18/2553635.html

As for why this is happening, is it because the rich text editor itself is dealing with whitespace.

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.