Read/write .txt file with special characters

后端 未结 6 748
小鲜肉
小鲜肉 2020-11-30 13:03

I open Notepad (Windows) and write

Some lines with special characters
Special: Žđšćč

and go to Save As...

6条回答
  •  天涯浪人
    2020-11-30 13:36

    "Not all sequences of bytes are valid UTF-8."
    

    See

    http://en.wikipedia.org/wiki/UTF-8

    under "Invalid byte sequences" for specific details.

提交回复
热议问题