String nonAlignOutput = "非对齐测试中文输出";
byte[] nonAlignInput = nonAlignOutput.getBytes(StringPool.UTF8);
针对第二条语句,myeclipse报错:[color=red]String literal is not properly closed by a double-quote[/color]
小弟才疏学浅,查了好久没看出来有啥错,求指教
String nonAlignOutput = "非对齐测试中文输出";
byte[] nonAlignInput = nonAlignOutput.getBytes(StringPool.UTF8);
针对第二条语句,myeclipse报错:[color=red]String literal is not properly closed by a double-quote[/color]
小弟才疏学浅,查了好久没看出来有啥错,求指教
没什么错误吧,可能是双引号用了全角的了?你发的代码没问题