/ÖÐÎÄ/
/ÖÐÎÄ/
/ÖÐÎÄ/
/ÖÐÎÄ/
/ÖÐÎÄ/
/ÖÐÎÄ/
/ÖÐÎÄ/
/ÖÐÎÄ/
/ÖÐÎÄ/
/ÖÐÎÄ/
TextEncoder BasicÊÇÒ»¿î¼òµ¥ÊµÓõÄÎı¾±à¼Æ÷£¬Äܹ»°ïÖúÓû§´´½¨ºÍ±à¼ÎļþÄÚÈÝ£¬Ö§³ÖÎı¾ÎļþµÄ±àÂë»ò»»ÐзûÀàÐ͸ü¸Ä£¬Ê¹ÓÃÆðÀ´·Ç³£·½±ã£¬ÓÐÐèÒªµÄÓû§²»Òª´í¹ýÁË£¬»¶ÓÏÂÔØʹÓã¡
TextEncoder BasicרÃÅÓÃÓڸıäÎļþµÄ±àÂ룬:³ÌÐò¶ÁÈ¡ºÍдÈëASCII¸ñʽ£¬ANSIÀ¶¡Óï-1(¹ú¼Ê±ê×¼»¯×éÖ¯8859-1)£¬À¶¡Óï-2(¹ú¼Ê±ê×¼»¯×éÖ¯8859-2)£¬Win-1250(ÖÐÅ·Óï)£¬Win-1251(Î÷Àï¶ûÓï)£¬Win-1252(Î÷Å·Óï)£¬Win-1253(Ï£À°Óï)£¬UTF-7,UTF-8,UTF-16´ó¶Ë×Ö·û£¬UTF-16С¶Ë×Ö·û£¬UTF-32´ó¶ËºÍUTF-32С¶Ë¡£ÕâЩ¸ñʽÖеÄÿһÖÖ¶¼¿ÉÒÔÈÎÒâת»»³ÉÈκÎÆäËû¸ñʽ¡£Äú¿ÉÒÔÖ¸¶¨×Ö½Ú˳Ðò±ê¼ÇÊÇ·ñÓ¦¸ÃдÈëÎļþ¡£Òò´Ë£¬ÀýÈ磬ÄúÒ²¿ÉÒÔʹÓÃÎı¾±àÂëÆ÷Ò»´Î´ÓÄúÍøÕ¾µÄËùÓÐÎļþÖÐɾ³ý×Ö½Ú˳Ðò±ê¼Ç£¬¶ø²»±ØÒ»¸ö½ÓÒ»¸öµØ´ò¿ªÃ¿¸öÎļþ¡£
´ËÍ⣬Îı¾±àÂëÆ÷»¹¿ÉÒÔ¸ü¸Ä»»ÐзûÓùý¡£Ö§³ÖµÄ²úÆ·ÓÐCRLF(ÊÓ´°ÏµÍ³¡¢²Ù×÷ϵͳ¡¢²Ù×÷ϵͳ/2¡¢²Ù×÷ϵͳ/²Ù×÷ϵͳ¡¢²Ù×÷ϵͳ)¡¢µÍƵ(Unix¡¢Linux¡¢Æ»¹û²Ù×÷ϵͳ¡¢Æ»¹ûOS X¡¢Æ»¹û²Ù×÷ϵͳ)¡¢¸õ(¾µäÆ»¹û²Ù×÷ϵͳ¡¢Æ»¹û¶þ´ú¡¢¿µÃ¯µÂ)ºÍ¹úÁª(AIX²Ù×÷ϵͳ¡¢IBM´óÐÍ»úϵͳ¡¢²Ù×÷ϵͳ/390)ÒÔ¼°¸÷ÖÖ²ÉÓÃË«×Ö½Ú¶Ô×Ö·û½øÐбàÂë»»Ðзû×Ö·ûFF¡¢NEL¡¢LS¡¢PSºÍVT¡£
Uni code¸ñʽת»»:ʹÓÃÎı¾±àÂëÆ÷£¬¿ÉÒÔ½«¸÷ÖÖÎı¾Îļþ´ÓÒ»¸öUni code¸ñʽµ½ÁíÒ»¸ö£¬»òµ½»ò´ÓANSI¡£Ö§³ÖµÄ¸ñʽÊÇASCIIÂ룬ANSI,UTF-7,UTF-8,UTF-16´ó¶Ë×Ö·û£¬UTF-16С¶Ë×Ö·û£¬UTF-32´ó¶Ë¡¢UTF-32С¶Ë¡¢À¶¡ÎÄ-1 (ISO 8859-1)¡¢À¶¡ÎÄ-2 (ISO 8859-2)¡¢Win-1250(ÖÐÅ·)¡¢Win-1251(Î÷Àï¶ûÎÄ)¡¢Win-1252(Î÷Å·)ºÍWin-1253(Ï£À°ÎÄ)¡£ÕâЩ¸ñʽÖеÄÿһÖÖ¶¼¿ÉÒÔת»»³ÉÈκÎÆäËû¸ñʽ¡£
»»ÐзûÀàÐ͵ĸü¸Ä:Ò²ÊÇËùÓõÄÀàÐÍ»»Ðзû¿ÉÒÔʹÓÃÎı¾±àÂëÆ÷¸ü¸ÄÎı¾ÎļþµÄ´óС¡£TextEncoderÖ§³Ö»»ÐзûÀàÐÍCR LF (Windows¡¢DOS¡¢OS/2¡¢CP/M¡¢TOS)¡¢LF (Unix¡¢Linux¡¢MacOS¡¢Mac OS X¡¢AmigaOS)¡¢CR(¾µäMac OS¡¢Apple II¡¢Commodore)ºÍNL (AIX OS¡¢IBM´óÐÍ»úϵͳ¡¢OS/390)ÒÔ¼°¸÷ÖÖ²ÉÓÃË«×Ö½Ú¶Ô×Ö·û½øÐбàÂë»»Ðзû×Ö·ûFF¡¢NEL¡¢LS¡¢PSºÍVT¡£
Åú´¦Àí:Ëü¿ÉÒÔͬʱ´¦ÀíÈÎÒâÊýÁ¿µÄÎı¾Îļþ¡£Í¨¹ý½«Îļþ´Ó¼ÆËã»úµÄÈκÎÎļþ¼ÐÍϵ½ÎļþÁбíÖУ¬¿ÉÒÔºÜÈÝÒ׵ؽ«ÎļþÌí¼Óµ½³ÌÐòÖС£Ìí¼ÓÎļþ²¢Ñ¡Ôñ±àÂëºÍ/»ò»»ÐзûÀàÐͺó£¬ÄúÖ»Ðèµ¥»÷¡°×ª»»¡±¼´¿É½«ËùÓиü¸ÄÓ¦ÓÃÓÚËùÓÐÎļþ¡£
×Ö½Ú˳Ðò±ê¼Ç:¸Ã³ÌÐò¿ÉÓÃÓÚɾ³ý×Ö½Ú˳Ðò±ê¼Ç´ÓÎļþ(»òÏòÎļþÌí¼Ó×Ö½Ú˳Ðò±ê¼Ç)¡£´ËÍ⣬µ±½«Îļþ´ÓÒ»ÖÖ¸ñʽת»»ÎªÁíÒ»ÖÖ¸ñʽʱ£¬Äú¿ÉÒÔ¸ù¾ÝÐèҪдÈë´øÓлò²»´øÓÐ×Ö½Ú˳Ðò±ê¼ÇµÄÎļþ¡£
ÍêÈ«Uni codeÖ§³Ö:ÕâЩҳÃæÉÏÁгöµÄËùÓй¦ÄÜÒ²¿ÉÒÔͨ¹ýUni code×Ö·û¡£ÎÞÂÛÄúÊÇÏëҪʹÓÃUni codeÎļþÃû£¬»¹ÊÇÄúµÄÎļþ°üº¬ÖÐÎÄ¡¢Î÷Àï¶ûÎÄ¡¢Ï£À°ÎÄ¡¢Ï£²®À´ÎÄ»òÆäËûÌØÊâ×Ö·û£¬¶¼Ã»ÓйØϵ¡£
½Å±¾¿ØÖÆ:ÔÚ°æ±¾ÖÐÅúÁ¿Îı¾±àÂëÆ÷Äú¿ÉÒÔͨ¹ýʹÓÃÅú´¦Àí½Å±¾À´Ö´ÐÐÎı¾±àÂëÆ÷µÄËùÓй¦ÄÜ¡£Òò´Ë£¬Äú¿ÉÒÔÍêÈ«×Ô¶¯»¯×ª»»¹ý³Ì¡£Èç¹ûÄúÔÚûÓвÎÊýµÄÇé¿öÏÂÆô¶¯Åú´¦Àí°æ±¾£¬Ëü¿ÉÒÔÏñÆÕͨµÄ´øÓÐͼÐÎÓû§½çÃæµÄÎı¾±àÂëÆ÷Ò»ÑùʹÓá£
±ãЯʽÈí¼þ:Õâ¸öÈí¼þ²»Óð²×°¾ÍÄܹ¤×÷¡£Õ⽫Ãâ³ýÄúµÄ×¢²á±í£¬Äú¿ÉÒÔÁ¢¼´Ê¹ÓøóÌÐò¡£
1.ÔÚ±¾Õ¾ÏÂÔظÃÈí¼þ²¢½âѹ
2.´ò¿ªÈí¼þ¼´¿ÉʹÓÃ
Îı¾±à¼Æ÷ÓֿɳÆΪÎÄ×ֱ༹¤¾ß£¬ÈçµçÄÔ×Ô´øµÄÎı¾Îĵµ¾ÍÊôÓÚÎı¾±à¼Æ÷¡£Îı¾±à¼Æ÷¶ÔÓÚÎÄ×ÖÊý¾ÝµÄµ¼Èë¡¢¸´ÖÆ¡¢Õ³Ìù¶¼·Ç³£·½±ã£¬ÁíÍâÎı¾±à¼Æ÷»¹¾ßÓвéѯ¡¢Ìæ»»¡¢ÅÅ°æµÈ¹¦ÄÜ¡£²»Í¬Îı¾±à¼Æ÷ÔÚ´¦Àí²»Í¬ÎÄ×ÖÊý¾Ýʱ
¹ØÓÚÌÚÅ£ | ÁªÏµ·½Ê½ | ·¢Õ¹Àú³Ì | °æȨÉùÃ÷ | ÏÂÔØ°ïÖú(£¿) | ¹ã¸æÁªÏµ | ÍøÕ¾µØͼ | ÓÑÇéÁ´½Ó
Copyright 2005-2024 QQTN.com ¡¾ÌÚÅ£Íø¡¿ °æȨËùÓÐ ¶õICP±¸2022005668ºÅ-1 | ¶õ¹«Íø°²±¸ 42011102000260ºÅ
ÉùÃ÷£º±¾Õ¾·ÇÌÚѶQQ¹Ù·½ÍøÕ¾ ËùÓÐÈí¼þºÍÎÄÕÂÀ´×Ô»¥ÁªÍø ÈçÓÐÒìÒé ÇëÓë±¾Õ¾ÁªÏµ ±¾Õ¾Îª·ÇÓ®ÀûÐÔÍøÕ¾ ²»½ÓÊÜÈκÎÔÞÖúºÍ¹ã¸æ