search

Home  >  Q&A  >  body text

python - Garbled code problem using gbk18030 encoding

When the characters are garbled, the garbled characters usually exist as double-byte dots "."
For example, on python: there are dots in a large range. Are there any restrictions on this range?

我想大声告诉你我想大声告诉你2776 days ago760

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-05-18 10:54:22

    This has nothing to do with Python. Maybe the encoding you use cannot represent the symbol of the interval you want to output, so use a dot instead. It is also possible that the terminal encoding you are using cannot output the symbols you want to output, and then use dots instead. Just like sometimes if Chinese is not supported, question marks are used instead. (I’m just guessing, I’ll help you pick it up)

    reply
    0
  • Cancelreply