JavaÖеÄ×Ö·û¼¯±àÂëÈëÃÅ 2
¡¡¡¡Ëµµ½GB2312ºÍGBK¾Í²»µÃ²»ÌáÖÐÎÄÍøÒ³µÄ±àÂë¡£¾¡¹ÜºÜ¶àпª·¢µÄWebϵͳºÍÐÂÉÏÏßµÄ×¢Öعú¼Ê»¯µÄÍøÕ¾¶¼¿ªÊ¼Ê¹ÓÃUTF-8£¬ÈÔÓÐÏ൱һ²¿·ÖµÄÖÐÎÄýÌå¼á³ÖʹÓÃGB2312ºÍGBK£¬ÀýÈçÐÂÀ˵ÄÒ³Ãæ¡£ÆäÖÐÓÐÁ½µãºÜÖµµÃ×¢Òâ¡£
¡¡¡¡µÚÒ»£¬Ò³ÃæÖÐmeta±êÇ©µÄ²¿·Ö£¬³£³£¿ÉÒÔ¼ûµ½charset=GB2312ÕâÑùµÄд·¨£¬ºÜ²»ÐÒµÄÊÇ£¬Õâ¸ö“charset”ÆäʵÊÇÓÃÀ´Ö¸¶¨Ò³ ÃæʹÓõÄÊÇʲô×Ö·û¼¯±àÂ룬¶ø²»ÊÇʹÓÃʲô×Ö·û¼¯¡£ÀýÈçÄã¼ûµ½¹ýÓÐÈËд“charset=UTF-8”£¬¼ûµ½¹ýÓÐÈËд“charset=ISO- 8859-1”£¬µ«Äã¼û¹ýÓÐÈËд“charset=Unicode”ô?µ±È»Ã»ÓУ¬ÒòΪUnicodeÊÇÒ»¸ö×Ö·û¼¯£¬¶ø²»ÊDZàÂë¡£
¡¡¡¡È»¶øÕýÊÇcharsetÕâ¸öÃû³ÆÎóµ¼Á˺ܶà³ÌÐòÔ±£¬ÕæµÄÒÔΪÕâÀïÒªÖ¸¶¨µÄÊÇ×Ö·û¼¯£¬Ò²Òò¶øʹËûÃǽøÒ»²½µÄÎóÒÔΪUTF-8ºÍUTF-16ÊÇÒ»ÖÖ ×Ö·û¼¯!(Íò¶ñ°¡)ºÃÔÚXMLÖÐÒѾ×ö³öÁËÐ޸ģ¬Õâ¸öλÖøijÉÁËÕýÈ·µÄÃû³Æ£ºencoding.µÚ¶þ£¬Ò³ÃæÖÐ˵µÄGB2312£¬Êµ¼ÊÉϲ¢²»ÕæµÄÊÇ GB2312(¾ªÑÈô?)¡£ÎÒÃÇÀ´×ö¸öʵÑ飬ÀýÈçÕÒÒ»¸öGB2312Öв»´æÔڵĺº×Ö“亸”(Õâ¸ö×Öȷʵ²»ÔÚGB2312ÖУ¬Äã¿ÉÒÔµ½GB2312µÄÂë±íÖРȥÕÒ£¬±£Ö¤ÕÒ²»µ½)£¬Õâ¸ö×ÖÔÚGBKÖС£È»ºóÄã°ÑËü·Åµ½Ò»¸öhtmlÒ³ÃæÖУ¬ÊÔ×ÅÔÚä¯ÀÀÆ÷Öдò¿ªËü£¬È»ºóÑ¡Ôñä¯ÀÀÆ÷µÄ±àÂëΪ“GB2312”£¬¿´µ½ÁËʲ ô?ËüÍêÈ«Õý³£ÏÔʾ!
¡¡¡¡½áÂÛ²»ÓÃÎÒ˵ÄãÒ²Ã÷°×ÁË£¬ä¯ÀÀÆ÷ʵ¼ÊÉÏʹÓõÄÊÇGBKÀ´ÏÔʾ¡£
¡¡¡¡ÐÂÀ˵ÄÒ³ÃæÖÐÒ²ÓкܶàÕâÑùµÄÀý×Ó£¬µ½´¦¶¼Ð´charset=GB2312£¬È´Ê¹ÓÃÁËÎÞÊý¸öGB2312Öв¢²»´æÔÚµÄ×Ö·û¡£ÕâÖÖ×ö·¨¶Ôä¯ÀÀÆ÷ÏÔʾ Ò³Ãæ²¢²»³ÉÎÊÌ⣬µ«ÔÚÐèÒª³ÌÐòץȡҳÃæ²¢±£´æµÄʱºò´øÀ´ÁËÂé·³£¬³ÌÐò½«²»ÄÜÒÀ¾ÝÒ³ÃæËù“Éù³Æ”µÄ±àÂë½øÐжÁÈ¡ºÍ±£´æ£¬¶øÖ»Äܾ¡Á¿²Â²âÕýÈ·µÄ±àÂë¡£
Ò»¸öÍøÒ³ÒªÏëÔÚä¯ÀÀÆ÷ÖÐÄܹ»ÕýÈ·ÏÔʾ£¬ÐèÒªÔÚÈý¸öµØ·½±£³Ö±àÂëµÄÒ»Ö£ºÍøÒ³Îļþ£¬ÍøÒ³±àÂëÉùÃ÷ºÍä¯ÀÀÆ÷±àÂëÉèÖá£
¡¡¡¡Ê×ÏÈÊÇÍøÒ³Îļþ±¾ÉíµÄ±àÂ룬¼´ÍøÒ³ÎļþÔÚ±»´´½¨µÄʱºòʹÓÃʲô±àÂëÀ´±£´æ¡£Õâ¸öÍêÈ«È¡¾öÓÚ´´½¨¸ÃÍøÒ³µÄÈËԱʹÓÃÁËʲô±àÂë±£´æ£¬¶ø½øÒ»²½µÄÈ¡¾ö ÓÚ¸ÃÈËԱʹÓõIJÙ×÷ϵͳ¡£ÀýÈçÎÒÃÇʹÓõÄÖÐÎÄ°æWindowsXPϵͳ£¬µ±Äãн¨Ò»¸öÎı¾Îļþ£¬Ð´ÈëһЩÄÚÈÝ£¬²¢°´ÏÂctrl+s½øÐб£´æµÄÄÇÒ»¿Ì£¬²Ù×÷ ϵͳ¾ÍÌæÄãʹÓÃGBK±àÂ뽫Îļþ½øÐÐÁ˱£´æ(ûÓÐʹÓÃUTF-8£¬Ò²Ã»ÓÐʹÓÃUTF-16)¡£¶øʹÓÃÁËÓ¢ÎÄϵͳµÄÈË£¬ÏµÍ³»áʹÓÃISO-8859-1½øÐÐ ±£´æ£¬ÕâÒ²Òâζ×Å£¬ÔÚÓ¢ÎÄϵͳµÄÎļþÖÐÈç¹ûÊäÈëÒ»¸öºº×Ö£¬ÊÇÎÞ·¨½øÐб£´æµÄ(µ±È»£¬ÄãÉõÖ
Ïà¹ØÎĵµ£º
java»º´æ¼¼ÊõÒ»£¨×ª£©
¿´Ò»Á£É³ÖеÄÊÀ½ç£¬ Ò»¶äÒ°»¨ÖеÄÌìÌᣠ°ÑÎÞÏÞÎÕÓÚÕÆÖУ¬ °ÑÓÀºãÎÕÓÚ˲¼ä¡£——ÍþÁ®• ²¼À³¿Ë
¿ªÊ¼ÌÖÂÛ»º´æ֮ǰ,ÈÃÎÒÃÇÏÈÀ´ÌÖÂÛÌÖÂÛÁíÍâÒ»¸öÎÊÌâ:ÀíÂÛºÍʵ¼ù.´Óahuaxuan½Ó´¥µÄ³ÌÐòÔ±À´¿´,ÓеijÌÐòԱƫʵ¼ù,ÓеijÌÐòԱƫÀíÂÛ,µ«ÊÇÕⶼÊDz»ºÃµÄÐÐΪ,ÀíÂÛºÍʵ¼ùͬÑùÖØÒª,ÎÒÃÇÔÚ×öºÜ¶àº ......
Java NIO APIÏê½â
ÔÚJDK
1.4ÒÔÇ°£¬JavaµÄIO²Ù×÷¼¯ÖÐÔÚjava.ioÕâ¸ö°üÖУ¬ÊÇ»ùÓÚÁ÷µÄ×èÈû£¨blocking£©API¡£¶ÔÓÚ´ó¶àÊýÓ¦ÓÃÀ´Ëµ£¬ÕâÑùµÄAPIʹÓúܷ½
±ã£¬È»¶ø£¬Ò»Ð©¶ÔÐÔÄÜÒªÇó½Ï¸ßµÄÓ¦Óã¬ÓÈÆäÊÇ·þÎñ¶ËÓ¦Óã¬ÍùÍùÐèÒªÒ»¸ö¸üΪÓÐЧµÄ·½Ê½À´´¦ÀíIO¡£´ÓJDK 1.4Æð£¬NIO
API×÷Ϊһ¸ö»ùÓÚ»º³åÇø£¬²¢ÄÜÌṩ·Ç×èÈû(non-blo ......
ÕªÒª£º±¾ÎĽ«Ì¸Ì¸ÔÚJavaÓ¦ÓóÌÐòÖÐʹÓÃJfreechartÅäÖã¬JFreeChartÊÇÓÃJava¿ª·¢µÄÒ»¸öÃâ·ÑµÄchartͼÐδ¦ÀíÀà¿â¡£
²âÊÔ»·¾³£º
OS¡¡£ºWindowsXP
Java£ºjdk1.5.0_06
JFreeChart£º1.0.9£¨2008Äê3Ô¡¡×îа汾£©
ÒòΪJFreeChart²ÉÓÃJava¿ª·¢¶ø³É£¬ËùÒÔÔÚÆäËûϵͳҲÄÜÕý³£ÔËÐС£
JFreeChartµÄ°²×°
1£¬ÏÂÔØ
´ÓSourceforge. ......
JAVAÅäÖãº
1£º JAVA_HOME £º C:\Program Files\Java\jdk1.6.0_12
2£ºCLASSPATH £º .;%JAVA_HOME%\lib;%JAVA_HOME%\lib\tools.jar
3£ºPATH £º %JAVA_HOME%\bin;%JAVA_HOME%\jre\bin
TomcatÅäÖ ......
The Mean Opinion
Score (MOS) test is a well acccepted standard which is defined in the ITU-T
Rec.P.800.
The value of MOS
test is generated by letting large number of listeners to evaluate the quality
of the test sentences.
The test scores
are averaged to a mean score which range fro ......