Ask a question about Unicode,

Source: Internet
Author: User
Ask a Unicode question, master Please enter!
From the API to get an XML, there are Chinese characters and so on, as well as "\ue40a" and "\ue40b" such as identifiers, how can I find these identifiers in the text in PHP?

Here's an example: the keyword "dregs cake" on both sides is the two identifiers, but PHP seems to be difficult to deal with this problem

Dregs cake-docin.com bean curd Mesh

------Solution--------------------
UTF-8 characters that are outside the scope of the font library.
------Solution--------------------
Unicode e000-f8ff snippet belongs to "User private"

This means that the Unicode organization does not define any characters in the code segment and is reserved for use by the user
So what you're saying is that these characters are API-customized and appear to be a boundary symbol, please refer to your API documentation
------Solution--------------------
Regular,/[\ue000-\uf8ff]/u, find each to replace the one you need.
  • 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.