°ïÎÒ¿´¿´ÕâÁ½¾äÓдíÎóÂð£¿
14 String wiringComment = new String("Comment" + "¤Ê¤¤");
15 String wiringCommentJapanese = new String(wiringComment.getBytes(), "utf-8");
16 System.out.println(wiringCommentJapanese );
Ìáʾ14ÐÐ String literal is not properly closed by a double-quote
дÈÕÎľÍÕâÑù£¬ÎªÊ²Ã´°¡£¿
[½â¾ö°ì·¨]
String wiringComment = new String("Comment" + "¤Ê¤¤"); String wiringCommentJapanese = new String(wiringComment.getBytes(), "utf-8"); System.out.println(wiringCommentJapanese )
[½â¾ö°ì·¨]
·Òë¹ýÀ´ÊÇË«ÒýºÅ×Ö·û´®ÊDz»ÕýÈ·¹Ø±Õ ¶¥Â¥ÉÏ¿´Ë«ÒýºÅ
[½â¾ö°ì·¨]
Ë«ÒýºÅÈ·¶¨ÊÇÓ¢Îĵϰ£¬ÊÔÊÔ½«Ô´´úÂëÎļþתΪuft-8»òÈÕÎıàÂë
[½â¾ö°ì·¨]