javaÓëÂÒÂë
UTF8ת»»³ÉGB2312 µ±ÎÒÃÇÔÚ»ùÓÚHTTPÐÒéµÄJSP»òServletµÄÓ¦ÓÃÖлñÈ¡Êý¾Ý»ò·¢ËÍÇëÇóʱ£¬JVM»á°ÑÊäË͵ÄÊý¾Ý±àÂë³ÉUTF8¸ñʽ¡£Èç¹ûÎÒÃÇÖ±½Ó´ÓHTTPÁ÷ÖÐÌáÈ¡ÖÐÎÄÊý¾Ý£¬ÌáÈ¡µÄ½á¹ûΪ“????”£¨¿ÉÄܸü¶àÎʺţ©£¬Îª×ª»»³ÉÎÒÃÇÄܹ»Àí½âµÄÖÐÎÄ×Ö·û£¬ÎÒÃÇÐèÒª°ÑUTF8ת»»³ÉGB2312£¬½èÖúISO-8859-1±ê×¼±àÂëÄܹ»ÇáÒ×µÄʵÏÖ¡£
ºº×ÖÇøλÂ룺½«ºº×Ö¶¨ÒåÔÚÒ»¸ö94ÐУ¬94ÁеıíÖУ¬³£Óúº×ÖÔÚ16-55ÐУ¬ÆäËûºº×ÖÔÚ56-87ÐУ¬·ûºÅÔÚ1-9Çø£¬ÆäËûÐÐ䶨Ò壬ÆäÖÐ55ÐеĵÚ90ÁÐÖÁ94ÁÐ䶨Òå¡£±ÈÈ磬“Íò”×ÖµÄÇøλÂëÊÇ 45 82£¬ ÔÚ45ÐУ¬82ÁС£
ºº×Ö¹ú±êÂ룺Óֳƽ»»»Â룬ÊÇÒ»¸öÂ뼯¡£½«ÇøλÂëµÄÊ®½øÖÆÐÐÁÐֵת»»³É16½øÖÆ£¬ÔÙ·Ö±ð¼ÓÉÏ20HµÃµ½¡£¾ÙÀý£º½«“Íò”µÄÇøλÂëת»»Îª16½øÖƱíʾ:2D 52,·Ö±ð¼ÓÉÏ20HµÃ£º4D 72£¬¼´Îª¹ú±êÂë¡£
ÓÉ´Ë£¬ºº×ÖµÚÒ»¸ö×Ö½ÚµÄ×îСֵ£º10H + 20H =30H, ×î´óÖµ:57H + 20H = 77H
µÚ¶þ¸ö×Ö½Ú×îСֵ£º 01H + 20H = 21H, ×î´óÖµ: 5EH + 20H = 7EH
GB2312:ÊÇÒ»ÖÖ±àÂ뷽ʽ£¬ÓÉÓÚ¹ú±êÂëºÍASC£¨00H-80H£©ÂëÖصþ£¬µ¼Ö¼ÆËã»úÎÞ·¨Ê¶±ð£¬Îª½â¾ö´ËÎÊÌ⣬½«¹ú±êÂëµÄÿ¸ö×Ö½Ú×î¸ßλÖÃ1£¬Ê¹µÃÿ¸ö×Ö½Ú´óÓÚ80H£¬´Ó¶øÓëASCÂëÇø·Ö£¬ÕâÑùÓ¢ÎÄ×Ö·ûºÍºº×ÖÔÚͬһ¸öÎļþÖпÉÒÔÇø·Ö¿ª¡£
ÓÉ´ËGB2312±àÂëµÄºº×ÖµÚÒ»¸ö×Ö½Ú×îСֵ£º30H | 80H = B0H, ×î´óÖµ£º77H | 80H = F7H
µÚ¶þ¸ö×Ö½ÚµÄ×îСֵ£º 21H | 80H = A1H£¬ ×î´óÖµ£º7EH | 80H = FEH
Òò´Ë£¬GB2312µÄ±àÂ뷶ΧÊÇ£ºB0A1H µ½ F7FEH£¬B0A1Hµ½F7FEH¿ÉÒÔÈÝÄÉ18269¸ö×Ö·û£¬¶øʵ¼ÊÖ»ÓÃÁË6763¸öºº×Ö£¬ËùÒÔGB2312Âë²¢·ÇÍêÈ«Â룬´æÔÚÀË·Ñ¡£
¸ù¾ÝGB2312Âë¿ÉÒÔ·´ÍÆÇøλÂ룬ÔÚPHP4.0ʱ´ú£¬ÓÉÓÚGD¿â²»Ö§³Öºº×Ö£¬ºÜ¶à³ÌÐò¾ÍÊÇÀûÓÃGB2312±àÂë·´ÍÆÇøλÂ룬Ȼºó¸ù¾ÝÇøλÂë»ñÈ¡×ÖÌåÎļþÖкº×ÖµÄ×Ö·ûµãÕóÊý¾Ý£¬È»ºó»Í¼¡£
GBK£ºÊÇGB2312µÄÀ©³ä£¬¼æÈÝGB2312,°üÀ¨ÁË20292¸öºº×Ö¡£²ÉÓÃË«×Ö½Ú±àÂ룬±àÂ뷶ΧÊÇ 8140H µ½ FEFEH£¬¿É¼ûµÚÒ»¸ö×Ö½Ú´óÓÚ80H£¬¿ÉÒÔºÍASCÂëÇø·Ö¿ª£¬µÚ¶þ¸ö×Ö½ÚºÍASCÂë´æÔÚÖصþ²¿·Ö£¬µ«¿ÉÒÔ¸ù¾ÝÇ°Ò»¸ö×Ö½ÚÊÇ·ñ´óÓÚ80H½øÐÐÅж¨£¬Òò´ËGBKÂëÊǼæÈÝASCÂëµÄ¡£
¸÷Àà±àÂëµÄ·¶Î§£º
±àÂë
¸ßλ×Ö½Ú
µÍλ×Ö½Ú
ÇøλÂ루10½øÖÆ£©
16-87
1-94
¹ú±êÂ루16½øÖÆ£©
30H-77H
21H-7EH
GB2312£¨16½øÖÆ£©
B0H-F7H
A1H-FEH
Unicode:Ä¿Ç°²ÉÓÃÁ½¸ö×Ö½Ú±àÂ룬ÀíÂÛÉÏ¿ÉÒÔ±íʾ65535¸ö×Ö·û£¬ASCÂëÒ²²ÉÓÃÁ½×Ö½Ú±àÂ룬ÔÚÿ¸öASCÂëÇ°¼Ó00H¡£UnicoeºÍºº×ÖÇøλÂëûÓÐÈκιØϵ£¬Ö»ÊÇÔÚ65535×Ö·û¿Õ¼äµÄ·¶Î§ÄÚ·ÖÅäÁË
Ïà¹ØÎĵµ£º
1. ÒýÑÔ
¡¡¡¡½üÄêÀ´£¬Ëæ×ÅInternet/Intranet½¨Íø¼¼ÊõµÄ·ÉËÙ·¢Õ¹ºÍÔÚÊÀ½ç·¶Î§ÄÚµÄѸËÙÆÕ¼°£¬¼ÆËã»ú
¡¡¡¡Ó¦ÓóÌÐòÒÑ´Ó´«Í³µÄ×ÀÃæÓ¦ÓÃתµ½WebÓ¦Ó᣻ùÓÚB/S£¨Browser/Server£©¼Ü¹¹µÄ3²ã¿ª·¢Ä£Ê½Öð½¥È¡´úC/S£¨Client/Server£©¼Ü¹¹µÄ¿ª·¢Ä£Ê½£¬³ÉΪ¿ª·¢ÆóÒµ¼¶Ó¦Óú͵ç×ÓÉÌÎñÆÕ±é²ÉÓõļ¼Êõ¡£ÔÚWebÓ¦Óÿª·¢µÄÔçÆÚ£¬Ö÷ҪʹÓõ ......
½ñÌìÍíÉÏʵÑéÊÒµÄÁíÒ»¸öÈËÔÚ±àÒëÒ»¸öjava³ÌÐò£¬ÐèÒªÓõ½Ò»¸öjarÎļþ£¬ËùÒÔÔÚÃüÁîÐбàÒëµÄʱºòÐèÒªÌí¼ÓjarµÄ·¾¶£¬ÀýÈ磺
java -classpath demo.jar hello
µ«ÊÇÉèÖÃÁËpathÖ®ºójava¾Í²»»áËÑË÷µ±Ç°Ä¿Â¼£¬Ò²¾ÍÊÇËùÈç¹ûhelloÔÚµ±Ç°Ä¿Â¼µÄ×ÓĿ¼£¬±ÈÈçtestÏÂÃ棬±àÒë»áÌáʾÕÒ²»µ½hello,
ÕâʱºòÐèÒªÐÞ¸ÄΪ
java -classpath .;d ......
http://looframework.sourceforge.net/
http://robocode.sourceforge.net/
JAVA is DOOMED(JID)ÊÇÒ»¸öÀûÓÃJavaʵÏֵĿªÔ´3DÒýÇæ²¢ÇÒʹÓÃOpenGL×÷ΪͼÐÎAPI.
¿ª·¢ÓïÑÔ£º Java
ÏîÄ¿Ö÷Ò³£º http://javaisdoomed.sourceforge.net/
ÎĵµµØÖ·£º
ÏÂÔصØÖ·£º https://sourceforge.net/projects/javaisdoomed/
JMine ÊÇÒ» ......
JSPÔ´´úÂë
<%
//»ñȡϵͳʱ¼ä
//String ddate=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(Calendar.getInstance().getTime());
TimeZone tz = TimeZone.getTimeZone("ETC/GMT-8");
TimeZone.setDefault(tz);
  ......
Java ƽ̨ÓÐÈý¸ö°æ±¾£¬ÕâʹÈí¼þ¿ª·¢ÈËÔ±¡¢·þÎñÌṩÉ̺ÍÉ豸Éú²úÉÌ¿ÉÒÔÕë¶ÔÌض¨µÄÊг¡½øÐпª·¢£º
* Java SE£¨Java Platform£¬Standard Edition£©¡£Java SE ÒÔÇ°³ÆΪ J2SE¡£ËüÔÊÐí¿ª·¢ºÍ²¿ÊðÔÚ×ÀÃæ¡¢·þÎñÆ÷¡¢Ç¶Èëʽ»·¾³ºÍʵʱ»·¾³ÖÐʹÓÃµÄ Java Ó¦ÓóÌÐò¡£Java SE °üº¬ÁËÖ§³Ö Java Web ·þÎñ¿ª·¢µÄÀ࣬²¢Î ......