随笔 - 17,  文章 - 0,  评论 - 0
摘要:解决方法一:(最重要的一种方法) 你看下my.ini,有无 [mysql]default-character-set=utf8[client] default-character-set=utf8[mysqld] default-character-set=utf8 然后建立表时,也要用(比如) DROP TABLE IF EXISTS `Company`; CREATE TABLE IF NOT EXISTS `Company` ( `Cname` VARCHAR(10) NOT NULL, `Caddr` VARCHAR(100), `Ctel` VARCHAR(16) )ENGIN... 阅读全文
posted @ 2013-09-06 10:59 new PersonBean() 阅读(331) 评论(0) 推荐(0) 编辑
摘要:public String read(String urlString){ try { StringBuffer html = new StringBuffer(); URL url = new URL(urlString); HttpURLConnection conn = (HttpURLConnection) url.openConnection(); InputStreamReader inputReader = new InputStreamReader(conn... 阅读全文
posted @ 2013-09-06 08:41 new PersonBean() 阅读(163) 评论(0) 推荐(0) 编辑