What does the message “Invalid byte 2 of a 3-byte UTF-8 sequence” mean?

前端 未结 9 707
半阙折子戏
半阙折子戏 2021-01-04 02:41

I changed a file in Orbeon Forms, and the next time I load the page, I get an error message saying Invalid byte 2 of a 3-byte UTF-8 sequence. How can I solve this p

9条回答
  •  情书的邮戳
    2021-01-04 03:01

    When you start your program, use the following Java command line argument:

    -Dfile.encoding=UTF-8
    

    For example,

    java -Dfile.encoding=UTF-8 -jar foo.jar
    

提交回复
热议问题