Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

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×Ö·û¿Õ¼äµÄ·¶Î§ÄÚ·ÖÅäÁË


Ïà¹ØÎĵµ£º

Java jdbcÊý¾Ý¿âÁ¬½Ó³Ø×ܽá


1. ÒýÑÔ
¡¡¡¡½üÄêÀ´£¬Ëæ×ÅInternet/Intranet½¨Íø¼¼ÊõµÄ·ÉËÙ·¢Õ¹ºÍÔÚÊÀ½ç·¶Î§ÄÚµÄѸËÙÆÕ¼°£¬¼ÆËã»ú
¡¡¡¡Ó¦ÓóÌÐòÒÑ´Ó´«Í³µÄ×ÀÃæÓ¦ÓÃתµ½WebÓ¦Ó᣻ùÓÚB/S£¨Browser/Server£©¼Ü¹¹µÄ3²ã¿ª·¢Ä£Ê½Öð½¥È¡´úC/S£¨Client/Server£©¼Ü¹¹µÄ¿ª·¢Ä£Ê½£¬³ÉΪ¿ª·¢ÆóÒµ¼¶Ó¦Óú͵ç×ÓÉÌÎñÆÕ±é²ÉÓõļ¼Êõ¡£ÔÚWebÓ¦Óÿª·¢µÄÔçÆÚ£¬Ö÷ҪʹÓõ ......

»ùÓÚjavaµÄ¿ªÔ´ÓÎÏ·ÒýÇæ

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 ÊÇÒ» ......

linux java/jsp »ñȡϵͳµ±Ç°Ê±¼äÎÊÌâ

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);
    ......

½« Flex ¼¯³Éµ½ Java EE Ó¦ÓóÌÐòµÄ×î¼Ñʵ¼ù


Ô­ÌûµØÖ·£ºhttp://www.ibm.com/developerworks/cn/java/j-lo-jeeflex/?S_TACT=105AGX52&S_CMP=tec-csdn
´«Í³µÄ Java EE Ó¦ÓóÌÐòͨ³£Ê¹ÓÃijÖÖ MVC ¿ò¼Ü£¨ÀýÈ磬Struts£©×÷Ϊǰ¶ËÓû§½çÃ棬Ëæ×Å Flex µÄÐËÆ𣬻ùÓÚ RIA µÄ¿Í»§¶ËÄܹ»¸øÓû§´øÀ´¸ü¿áµÄ½çÃ棬¸ü¶ÌµÄÏìӦʱ¼ä£¬ÒÔ¼°¸ü½Ó½üÓÚ×ÀÃæÓ¦ÓóÌÐòµÄÌåÑé¡£±¾ÎĽ«½²Ê ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ