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

web java ½â¾öÖÐÎÄÂÒÂë


×Ö·û¼¯Óë±àÂë·½·¨
      
×Ö·û¼¯
×Ö·û±àÂë
¶ÔÓ¦ÓïÑÔ
ASCII
ASCII
Ó¢Óï
ISO8859-1
ISO8859-1
À­¶¡×Öĸ
GB2312
GB2312
¼òÌåÖÐÎÄ
GBK
GBK
ÖÐÎÄ
GB18030
GB18030
¼òÌåÖÐÎÄ
Big5
Big5
·±ÌåÖÐÎÄ
Unicode
UTF-8
¶à¹úÓïÑÔ
    
     ASCII 
      ASCIIʹÓÃÆ߸ö±ÈÌؽøÐÐ×Ö·û±àÂ룬×î¶à¿ÉÒÔ±íʾµÄ×Ö·ûÊý¾ÝΪ128¸ö×Ö·û£¬ÕâЩ×Ö·û°üÀ¨ÁË´óСдӢÎÄ×Öĸ¡¢°¢À­²®Êý×Ö¡¢±êµã·ûºÅ¡¢¿ØÖÆ×Ö·ûºÍÆäËû·ûºÅ¡£Ã¿¸ö×Ö·ûÓÃÒ»¸ö×Ö½Ú±íʾ£¬Ã¿¸ö×Ö½ÚµÄ×î¸ßλΪ0¡£ÀýÈ磺×Ö·û“A”ÔÚÓÃASCIIÂëÖÐÓÃ2½øÖƵē01000001”±íʾ£¬»»³ÉÊ®½øÖƱíʾ65.
    ISO8859-1
         ISO8859-1£¬ÓÖ³ÆLatin-1,ÊÇÔÚASCIIµÄ»ù´¡ÉÏ£¬Ê¹ÓÃ8±ÈÌرàÂ룬ÐÂÔöÁËһЩ×Ö·û¡£ÐÂÔöµÄ×Ö·ûÖ÷ÒªÓÃÀ´Ö§³Ö²¿·ÖÅ·ÖÞ¹ú¼ÒËùʹÓõÄÓïÑÔ£¬ÀýÈ磺µÂÓï¡¢ÆÏÌÑÑÀÓïºÍÎ÷°àÑÀÓïµÈ¡£Ò²¾ÍÊÇ˵£¬ISO8859-1¼æÈÝASCII
    GB2312
       1981Ä꣬¿ªÊ¼Ê¹Óùú¼Ò±ê×¼¡¶ÐÅÏ¢½»»»Óúº×Ö±àÂë×Ö·û¼¯-»ù±¾¼¯¡·£¬¼ò³ÆGB2312¡£
       GB2312ʹÓÃË«×Ö½Ú±àÂ룬һ¹²°üº¬ÁË7445¸ö×Ö·û£¬°üÀ¨ÁË6763¸ö³£Óõĺº×Ö¡£¶Ôºº×Ö·Ö³ÉÁËÁ½¼¶£¬Ò»¼¶Îª³£ÓÃ×Ö£¬ÓÐ3755¸ö×Ö·û£¬°´ÕÕÆ´ÒôÅÅÐò£¬¶þ¼¶Îª´Î³£ÓÃ×Ö£¬°üÀ¨3008¸ö×Ö·û£¬°´ÕÕ²¿Ê×ÅÅÐò¡£
      GB2312Ö÷ÒªÓ¦ÓÃÔÚÖйú´ó½ºÍмÓÆ£¬¼¸ºõËùÓеÄÖÐÎÄϵͳºÍ¹ú¼Ê»¯µÄÈí¼þÖ§³ÖGB2312£¬Í¬Ê±¼æÈÝASCII¡£
      
    GBK
       ÔÚGB2312µÄ»ù´¡ÉÏÓÖ½øÐÐÀ©³ä¡£ÔÚ1995Ä꣬ÍƳö¡¶ºº×ÖÄÚÂëÀ©Õ¹¹æ·¶¡·£¬¼ò³ÆGBK¡£
       GBKÊÕ¼ÁË21886¸öºº×ÖºÍͼÐηûºÅ£¬ÆäÖкº×Ö21003¸ö£¬Í¼ÐηûºÅ883¸ö£¬²¢ÇÒÏòÏÂÓëGB2312±àÂëÍêÈ«¼æÈÝGBK
       ÔÚGB2312µÄ»ù´¡ÉÏÓÖ½øÐÐÀ©³ä¡£ÔÚ1995Ä꣬ÍƳö¡¶ºº×ÖÄÚÂëÀ©Õ¹¹æ·¶¡·£¬¼ò³ÆGBK¡£
       GBKÊÕ¼ÁË21886¸öºº×ÖºÍͼÐηûºÅ£¬ÆäÖкº×Ö21003¸ö£¬Í¼ÐηûºÅ883¸ö£¬²¢ÇÒÏòÏÂÓëGB2312±àÂëÍêÈ«¼æÈÝ
    GB18130
      GB1813


Ïà¹ØÎĵµ£º

javaÖÐÄÚ²¿ÀàµÄʹÓÃ

ÄÚ²¿ÀàµÄʹÓõÄÓÅȱµã£º
Óŵ㣺¼õÉÙÁËÔÚÀàÎļþ±àÒëºóµÄ²úÉúµÄ×Ö½ÚÂëÎļþµÄ´óС
ȱµã£ºÊ¹³ÌÐò½á¹¹²»ÇåÎú
ʹÓÃÄÚ²¿ÀàµÄ×¢ÒâÊÂÏ
ÄÚ²¿ÀàµÄʹÓÃÒ»°ã¶¼ÓëËùÔÚµÄÍⲿÀàÓÐÒ»¶¨µÄ¹ØÁª£¬ËüÊÇÔÚÒ»¸öÀàµÄÄÚ²¿Ç¶Ì׶¨ÒåµÄÀ࣬Ëü¿ÉÒÔÊÇÆäËüÀàµÄ³ÉÔ±£¬Ò²¿ÉÒÔÔÚÒ»¸öÓï¾ä¿éµÄÄÚ²¿¶¨Ò壬»¹¿ÉÒÔÔÚ±í´ïʽÄÚ²¿ÄäÃû¶¨Òå(ÄäÃûÄÚ²¿Àà)¡£
ÄÚ²¿ ......

Java±à³Ì ÓÐ1ÒÚ¸ö¸¡µãÊý£¬ÇëÕÒ³öÆäÖжԴóµÄ10000¸ö

 ÓÐ1ÒÚ¸ö¸¡µãÊý£¬ÇëÕÒ³öÆäÖжԴóµÄ10000¸ö¡£Ìáʾ£º¼ÙÉèÿ¸ö¸¡µãÊýÕ¼4¸ö×Ö½Ú£¬1ÒÚ¸ö¸¡µãÊý¾ÍÒªÕ¾µ½Ï൱´óµÄ¿Õ¼ä£¬Òò´Ë²»ÄÜÒ»´Î½«È«²¿¶ÁÈëÄÚ´æ½øÐÐÅÅÐò¡£
/**
*
*/
package com.code;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileOu ......

¼ÆËãÆ÷ javaÔ´´úÂë

//package ÓéÀÖ;
import java.awt.Container;
import java.awt.FlowLayout;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import java.text.DecimalFormat;
import javax.swing ......

javaÖеõ½µ±Ç°Â·¾¶

¹éÄÉһЩÍøÉÏÈ¡JAVA·¾¶µÄ·½·¨£º
×¢Ã÷£ºÈç¹û´ÓANTÆô¶¯³ÌÐò£¬this.getClass().getResource("")È¡³öÀ´µÄ±È½Ï¹Ö£¬Ö±½ÓÓÃJAVAÃüÁîÐе÷ÊԾͿɳÉ
¹¦¡£
µÃµ½classpathºÍµ±Ç°ÀàµÄ¾ø¶Ô·¾¶µÄһЩ·½·¨
»ñµÃCLASSPATHÖ®Íâ·¾¶µÄ·½·¨£º
URL base = this.getClass£¨£©.getResource£¨""£©£»
//ÏÈ»ñµÃ±¾ÀàµÄËùÔ ......

JavaÓëCͨÐÅҪעÒâµÄ¼¸¸öÎÊÌâ

1.´óβ(big_endian)Сβ(little_endian)µÄÎÊÌâ
»ùÓÚWebµÄ²âÊÔÈí¼þÊÇÓÉC++Êý¾Ý²É¼¯·þÎñÆ÷³ÌÐòºÍ¿Í»§¶ËJavaÏÔʾ³ÌÐòÁ½²¿·Ö¹¹³É£¬Ç°ÕßÓÃC++£¬ºóÕßJavaÓïÑÔ£¬´æÔÚÊý¾ÝÒÆÖ²ÎÊÌâ¡£ÒòΪ
ÔÚ¼ÆËã»úϵͳÖУ¬µ±°üº¬Êý×ֵĶþ½øÖÆÎļþ´ÓÒ»¸ö½á¹¹ÒƵ½ÁíÒ»½á¹¹Ê±£¬¾Í³öÏÖ´óβСβÎÊÌâ¡£²»Í¬CPUÔÚ¶à×Ö½ÚÊý£¨ÈçËÄ×Ö½Úint£©´æ´¢Ê±ÓÐÁ½ÖÖ·½·¨ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ