search

Home  >  Q&A  >  body text

python3.x - python dict 里面的中文值打印出来全是\xe9\x80\x80\xe5?

PHP中文网PHP中文网2810 days ago551

reply all(3)I'll reply

  • PHP中文网

    PHP中文网2017-04-18 10:04:23

    Similar questions. Portal: https://segmentfault.com/q/10...

    reply
    0
  • 阿神

    阿神2017-04-18 10:04:23

    This is utf8 encoding, there is nothing wrong with it

    reply
    0
  • PHPz

    PHPz2017-04-18 10:04:23

    json.dumps(xp, ensure_ascii=False)

    reply
    0
  • Cancelreply