String nonAlignOutput = "非对齐测试中文输出";
byte[] nonAlignInput = nonAlignOutput.getBytes(StringPool.UTF8);针对第二条语句,myeclipse报错:String literal is not properly closed by a double-quote小弟才疏学浅,没看出来有啥错,求指教
byte[] nonAlignInput = nonAlignOutput.getBytes(StringPool.UTF8);针对第二条语句,myeclipse报错:String literal is not properly closed by a double-quote小弟才疏学浅,没看出来有啥错,求指教
try {
byte[] nonAlignInput = nonAlignOutput.getBytes("utf-8");
} catch (UnsupportedEncodingException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}