search

Home  >  Q&A  >  body text

javascript - Issues about node crawler web page coding

Use nodejs to write a crawler. How to determine the encoding format of the content crawled back? How to determine the encoding format of gbk, unicode, utf8?

PHP中文网PHP中文网2790 days ago288

reply all(1)I'll reply

  • 迷茫

    迷茫2017-05-19 10:21:05

    The response object contains charset to determine the encoding

    reply
    0
  • Cancelreply