ALTER DATABASE `ciscrawler` DEFAULT CHARACTER SET latin1; ALTER TABLE `http_4` DEFAULT CHARACTER SET latin1; ALTER TABLE `http_4` CHANGE `PURL_TITLE` `PURL_TITLE` VARCHAR( 50 ) CHARACTER SET latin1;
程序从数据库写入和读出时候都使用iso-8859-1编码
String title = new String(rs.getString("PURL_TITLE").getBytes("iso-8859-1"));