Java开发网 |
注册 |
登录 |
帮助 |
搜索 |
排行榜 |
发帖统计
|
您没有登录 |
» Java开发网 » Java SE 综合讨论区
打印话题 寄给朋友 订阅主题 |
作者 | 菜鸟提问? (illegal character: \12288) |
wwjxxy
发贴: 4 积分: 0 |
于 2004-09-08 13:40
---------- javac ---------- chaxun.java:58: illegal character: \12288 StringBuffer sb = new StringBuffer(); ^ chaxun.java:58: illegal character: \12288 StringBuffer sb = new StringBuffer(); ^ chaxun.java:60: illegal character: \12288 byte bt[] = str.getBytes(); ^ chaxun.java:60: illegal character: \12288 byte bt[] = str.getBytes(); ^ chaxun.java:62: illegal character: \12288 for(int i =0 ;i〈bt.length;i++) ^ chaxun.java:62: illegal character: \12288 for(int i =0 ;i〈bt.length;i++) ^ chaxun.java:62: illegal character: \12296 for(int i =0 ;i〈bt.length;i++) ^ chaxun.java:65: illegal character: \12288 if(bt[i]〈0) ^ chaxun.java:65: illegal character: \12288 if(bt[i]〈0) ^ chaxun.java:65: illegal character: \12296 if(bt[i]〈0) ^ chaxun.java:69: illegal character: \12288 //是汉字去高位1 ^ chaxun.java:69: illegal character: \12288 //是汉字去高位1 ^ chaxun.java:71: illegal character: \12288 sb.append((char)(bt[i]&&0x7f)); ^ chaxun.java:71: illegal character: \12288 sb.append((char)(bt[i]&&0x7f)); ^ chaxun.java:76: illegal character: \12288 sb.append((char)0); ^ chaxun.java:76: illegal character: \12288 sb.append((char)0); ^ chaxun.java:78: illegal character: \12288 sb.append((char)bt[i]); ^ chaxun.java:78: illegal character: \12288 sb.append((char)bt[i]); ^ chaxun.java:80: illegal character: \12288 } ^ chaxun.java:80: illegal character: \12288 } ^ chaxun.java:91: illegal character: \12288 byte[] bt = str.getBytes(); ^ chaxun.java:91: illegal character: \12288 byte[] bt = str.getBytes(); ^ chaxun.java:93: illegal character: \12288 int i,l=0,length = bt.length,j=0; ^ chaxun.java:93: illegal character: \12288 int i,l=0,length = bt.length,j=0; ^ chaxun.java:95: illegal character: \12288 for(i = 0;i〈length;i++) ^ chaxun.java:95: illegal character: \12288 for(i = 0;i〈length;i++) ^ chaxun.java:95: illegal character: \12296 for(i = 0;i〈length;i++) ^ chaxun.java:98: illegal character: \12288 if(bt[i] == 0) ^ chaxun.java:98: illegal character: \12288 if(bt[i] == 0) ^ chaxun.java:101: illegal character: \12288 l++; ^ chaxun.java:101: illegal character: \12288 l++; ^ chaxun.java:103: illegal character: \12288 } ^ chaxun.java:103: illegal character: \12288 } ^ chaxun.java:105: illegal character: \12288 } ^ chaxun.java:105: illegal character: \12288 } ^ chaxun.java:107: illegal character: \12288 byte []bt2 = new byte[length-l]; ^ chaxun.java:107: illegal character: \12288 byte []bt2 = new byte[length-l]; ^ chaxun.java:109: illegal character: \12288 for(i =0 ;i〈length;i++) ^ chaxun.java:109: illegal character: \12288 for(i =0 ;i〈length;i++) ^ chaxun.java:109: illegal character: \12296 for(i =0 ;i〈length;i++) ^ chaxun.java:112: illegal character: \12288 if(bt[i] == 0) ^ chaxun.java:112: illegal character: \12288 if(bt[i] == 0) ^ chaxun.java:115: illegal character: \12288 i++; ^ chaxun.java:115: illegal character: \12288 i++; ^ chaxun.java:117: illegal character: \12288 bt2[j] = bt[i]; ^ chaxun.java:117: illegal character: \12288 bt2[j] = bt[i]; ^ chaxun.java:119: illegal character: \12288 }else ^ chaxun.java:119: illegal character: \12288 }else ^ chaxun.java:122: illegal character: \12288 bt2[j] = (byte)(bt[i]|0x80); ^ chaxun.java:122: illegal character: \12288 bt2[j] = (byte)(bt[i]|0x80); ^ chaxun.java:124: illegal character: \12288 } ^ chaxun.java:124: illegal character: \12288 } ^ chaxun.java:126: illegal character: \12288 j++; ^ chaxun.java:126: illegal character: \12288 j++; ^ chaxun.java:128: illegal character: \12288 } ^ chaxun.java:128: illegal character: \12288 } ^ chaxun.java:130: illegal character: \12288 String tt = new String(bt2); ^ chaxun.java:130: illegal character: \12288 String tt = new String(bt2); ^ chaxun.java:132: illegal character: \12288 return tt; ^ chaxun.java:132: illegal character: \12288 return tt; ^ chaxun.java:8: package java.awt.Applet does not exist import java.awt.Applet.*; ^ 61 errors 帮帮我, 输出完成 (耗时 3 秒) - 正常终止
why edited on 2004-09-08 13:52
关于 异常 。。。。 谢谢指教 |
话题树型展开 |
人气 | 标题 | 作者 | 字数 | 发贴时间 |
4523 | 菜鸟提问? (illegal character: \12288) | wwjxxy | 4342 | 2004-09-08 13:40 |
3534 | Re:菜鸟提问? (illegal character: \12288) | why | 101 | 2004-09-08 13:54 |
已读帖子 新的帖子 被删除的帖子 |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |