search

Home  >  Q&A  >  body text

Ajax requests php, and strange red dots appear in front of the returned information.

Has anyone experienced this situation?

黄舟黄舟2754 days ago373

reply all(5)I'll reply

  • PHP中文网

    PHP中文网2017-05-16 13:18:52

    Usually it is caused by the file encoding format. But I have never encountered so many of them. I don’t know what encoding it is
    utf-8 bom or something like that

    reply
    0
  • 迷茫

    迷茫2017-05-16 13:18:52

    Isn’t this because the data has not been parsed? Please discuss with the backend and check the format

    reply
    0
  • phpcn_u1582

    phpcn_u15822017-05-16 13:18:52

    This is a non-printable character. Follow the entire data generation process. This kind of character will not be printed. It is just displayed in the chrome console for you. Otherwise, other characters may not be displayed. You can change Convert the response to unicode code and take a look

    reply
    0
  • 仅有的幸福

    仅有的幸福2017-05-16 13:18:52

    When the backend returns data, try ob_clean() to clear the output buffer first?

    reply
    0
  • 淡淡烟草味

    淡淡烟草味2017-05-16 13:18:52

    JSON response format error - red dotullet before response

    reply
    0
  • Cancelreply