Invalid byte 1 of 1-byte UTF-8 sequence

 

用UE编写build.xml文件,文件编码设置为"UTF-8",还是出现编码问题。

 

Invalid byte 1 of 1-byte UTF-8 sequence_第1张图片

 

 

还是编码老问题,解释如下:

 

The cause of this is a file that is not UTF-8 is being parsed as UTF-8. It is likely that the parser is encountering a byte value in the range FE-FF. These values are invalid in the UTF-8 encoding.

 

解决办法:

(1)编码方式改为GBK或者GB2312,不推荐这种做法;

(2)将UTF-8改为UTF8.(无语吧,Spring中也存在这个问题)

 

 

 

 

你可能感兴趣的:(sequence)