{"id":305309,"date":"2024-05-20T19:42:45","date_gmt":"2024-05-20T11:42:45","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/305309.html"},"modified":"2024-05-20T19:43:06","modified_gmt":"2024-05-20T11:43:06","slug":"ascii-%e7%bc%96%e7%a0%81%e8%a1%a8%e5%9c%a8%e8%ae%a1%e7%ae%97%e6%9c%ba%e7%a7%91%e5%ad%a6%e4%b8%ad%e7%9a%84%e9%87%8d%e8%a6%81%e6%80%a7%e6%98%af%e4%bb%80%e4%b9%88","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/305309.html","title":{"rendered":"ASCII \u7f16\u7801\u8868\u5728\u8ba1\u7b97\u673a\u79d1\u5b66\u4e2d\u7684\u91cd\u8981\u6027\u662f\u4ec0\u4e48"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/26221636\/7e91502d-0713-4707-b4d5-6d2125041e49.webp\" alt=\"ASCII \u7f16\u7801\u8868\u5728\u8ba1\u7b97\u673a\u79d1\u5b66\u4e2d\u7684\u91cd\u8981\u6027\u662f\u4ec0\u4e48\" \/><\/p>\n<p><p>ASCII\u7801\uff08American Standard Code for Information Interchange\uff0c\u7f8e\u56fd\u4fe1\u606f\u4ea4\u6362\u6807\u51c6\u4ee3\u7801\uff09\u5728\u8ba1\u7b97\u673a\u79d1\u5b66\u4e2d\u7684\u91cd\u8981\u6027\u4f53\u73b0\u5728\u51e0\u4e2a\u65b9\u9762\uff1a<strong>\u4f5c\u4e3a\u5b57\u7b26\u7f16\u7801\u7684\u57fa\u77f3\u3001\u4fdd\u969c\u6570\u636e\u4f20\u8f93\u7684\u4e00\u81f4\u6027\u3001\u7f16\u7a0b\u8bed\u8a00\u7684\u57fa\u672c\u7ec4\u6210\u90e8\u5206\u3001\u786c\u4ef6\u8bbe\u5907\u4e2d\u7684\u5e94\u7528<\/strong>\u3002\u7279\u522b\u662f\u5176\u4f5c\u4e3a\u5b57\u7b26\u7f16\u7801\u7684\u57fa\u77f3\uff0c\u5b83\u4e3a\u73b0\u4ee3\u8ba1\u7b97\u673a\u8bed\u8a00\u548c\u7f16\u7a0b\u63d0\u4f9b\u4e86\u521d\u59cb\u7684\u5b57\u7b26\u96c6\u5408\uff0c\u786e\u4fdd\u4e86\u65e9\u671f\u7535\u8111\u7cfb\u7edf\u80fd\u591f\u5728\u6587\u672c\u5904\u7406\u548c\u6570\u636e\u50a8\u5b58\u65b9\u9762\u62e5\u6709\u4e00\u81f4\u7684\u6807\u51c6\uff0c\u8fd9\u662f\u786e\u4fdd\u4fe1\u606f\u80fd\u591f\u5b58\u50a8\u548c\u5206\u4eab\u7684\u57fa\u7840\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u5b57\u7b26\u7f16\u7801\u7684\u57fa\u77f3<\/p>\n<\/p>\n<p><p>ASCII\u7801\u662f\u8ba1\u7b97\u673a\u79d1\u5b66\u7684\u57fa\u672c\u6784\u6210\u8981\u7d20\u4e4b\u4e00\uff0c\u5b83\u5b9a\u4e49\u4e86128\u4e2a\u5b57\u7b26\u7684\u6807\u51c6\u7801\uff0c\u5305\u62ec\u82f1\u6587\u5b57\u6bcd\u3001\u6570\u5b57\u3001\u6807\u70b9\u7b26\u53f7\u548c\u7279\u6b8a\u63a7\u5236\u5b57\u7b26\u3002\u6bcf\u4e00\u4e2aASCII\u5b57\u7b26\u90fd\u4e0e\u4e00\u4e2a7\u4f4d\u7684\u4e8c\u8fdb\u5236\u6570\u5b57\u76f8\u5bf9\u5e94\uff0c\u4f7f\u8ba1\u7b97\u673a\u80fd\u591f\u7406\u89e3\u548c\u663e\u793a\u8bed\u8a00\u6587\u5b57\u3002<\/p>\n<\/p>\n<p><p>\u5728\u65e9\u671f\u7684\u8ba1\u7b97\u673a\u6280\u672f\u4e2d\uff0cASCII\u7801\u7684\u5e94\u7528\u51e0\u4e4e\u65e0\u5904\u4e0d\u5728\u3002\u5b83\u4e0d\u4ec5\u5b9a\u4e49\u4e86\u5b57\u7b26\u7f16\u7801\u7684\u65b9\u6cd5\uff0c\u800c\u4e14\u4e5f\u4fc3\u8fdb\u4e86\u7f16\u7a0b\u8bed\u8a00\u7684\u53d1\u5c55\u3001\u6587\u672c\u6587\u4ef6\u7684\u521b\u5efa\u548c\u7f51\u7edc\u901a\u4fe1\u7684\u5b9e\u73b0\u3002\u7531\u4e8e\u6700\u521d\u8ba1\u7b97\u673a\u53ea\u80fd\u5904\u7406\u7b80\u5355\u7684\u82f1\u6587\u6587\u672c\uff0cASCII\u7801\u6210\u4e3a\u4fe1\u606f\u5904\u7406\u548c\u4f20\u8f93\u7684\u57fa\u7840\uff0c\u5141\u8bb8\u6587\u672c\u5728\u4e0d\u540c\u8ba1\u7b97\u673a\u548c\u7f51\u7edc\u4e4b\u95f4\u65e0\u969c\u788d\u4f20\u9001\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u6570\u636e\u4f20\u8f93\u7684\u4e00\u81f4\u6027<\/p>\n<\/p>\n<p><p>\u5728\u6570\u636e\u4f20\u8f93\u4e2d\uff0cASCII\u7801\u7684\u4f7f\u7528\u4fdd\u8bc1\u4e86\u8de8\u5e73\u53f0\u548c\u64cd\u4f5c\u7cfb\u7edf\u4e4b\u95f4\u6587\u672c\u4fe1\u606f\u7684\u51c6\u786e\u4ea4\u6d41\u3002\u901a\u8fc7ASCII\u7f16\u7801\uff0c\u65e0\u8bba\u4f55\u79cd\u8bbe\u5907\u6216\u7cfb\u7edf\uff0c\u6587\u672c\u4fe1\u606f\u90fd\u80fd\u88ab\u4e00\u81f4\u5730\u7f16\u7801\u548c\u89e3\u7801\uff0c\u786e\u4fdd\u4e86\u4fe1\u606f\u4f20\u9012\u7684\u53ef\u8bfb\u6027\u548c\u53ef\u9760\u6027\u3002<\/p>\n<\/p>\n<p><p>\u4e3a\u4e86\u907f\u514d\u5728\u4f20\u8f93\u6587\u672c\u65f6\u51fa\u73b0\u4e71\u7801\uff0c\u9700\u8981\u6240\u6709\u7cfb\u7edf\u9075\u5faa\u76f8\u540c\u7684\u7f16\u7801\u89c4\u5219\u3002ASCII\u7801\u4f5c\u4e3a\u6700\u65e9\u7684\u7f16\u7801\u4f53\u7cfb\u4e4b\u4e00\uff0c\u4e3a\u4e0d\u540c\u7cfb\u7edf\u548c\u673a\u5668\u4e4b\u95f4\u7684\u901a\u4fe1\u63d0\u4f9b\u4e86\u4e00\u4e2a\u5171\u540c\u63a5\u53d7\u7684\u6807\u51c6\u3002<\/p>\n<\/p>\n<p><p>\u4e09\u3001\u7f16\u7a0b\u8bed\u8a00\u7684\u57fa\u672c\u7ec4\u6210\u90e8\u5206<\/p>\n<\/p>\n<p><p>ASCII\u7801\u4e0d\u4ec5\u5728\u6570\u636e\u4f20\u8f93\u4e2d\u8d77\u5230\u5173\u952e\u4f5c\u7528\uff0c\u5b83\u8fd8\u662f\u591a\u6570\u7f16\u7a0b\u8bed\u8a00\u7684\u57fa\u7840\uff0c\u56e0\u4e3a\u8fd9\u4e9b\u8bed\u8a00\u7684\u7f16\u8bd1\u5668\u548c\u89e3\u91ca\u5668\u90fd\u91c7\u7528ASCII\u7801\u6765\u8bc6\u522b\u6e90\u4ee3\u7801\u4e2d\u7684\u547d\u4ee4\u548c\u51fd\u6570\u3002\u5927\u591a\u6570\u73b0\u4ee3\u7f16\u7a0b\u8bed\u8a00\u90fd\u652f\u6301ASCII\u7f16\u7801\uff0c\u56e0\u4e3a\u5b83\u4eec\u662f\u57fa\u4e8e\u82f1\u6587\u7684\u3002<\/p>\n<\/p>\n<p><p>\u6b64\u5916\uff0cASCII\u7801\u5728\u7f16\u7a0b\u4e2d\u8fd8\u7528\u4e8e\u8868\u793a\u63a7\u5236\u5b57\u7b26\uff0c\u5982\u6362\u884c\uff08\\n\uff09\u3001\u5236\u8868\u7b26\uff08\\t\uff09\u548c\u56de\u8f66\uff08\\r\uff09\u3002\u8fd9\u4e9b\u63a7\u5236\u5b57\u7b26\u5728\u7f16\u7a0b\u4e2d\u6709\u7740\u7279\u6b8a\u7684\u7528\u9014\uff0c\u6bd4\u5982\u5728\u6253\u5370\u8f93\u51fa\u6216\u683c\u5f0f\u5316\u5b57\u7b26\u4e32\u65f6\u3002<\/p>\n<\/p>\n<p><p>\u56db\u3001\u786c\u4ef6\u8bbe\u5907\u4e2d\u7684\u5e94\u7528<\/p>\n<\/p>\n<p><p>ASCII\u7801\u8fd8\u5e7f\u6cdb\u5e94\u7528\u4e8e\u786c\u4ef6\u8bbe\u5907\uff0c\u4f8b\u5982\u952e\u76d8\u3002\u6bcf\u5f53\u7528\u6237\u6572\u51fb\u952e\u76d8\u4e0a\u7684\u4e00\u4e2a\u952e\uff0c\u952e\u76d8\u5185\u90e8\u5c31\u4f1a\u751f\u6210\u76f8\u5e94\u7684ASCII\u7801\uff0c\u7136\u540e\u7531\u8ba1\u7b97\u673a\u63a5\u6536\u5e76\u8fdb\u884c\u5904\u7406\u3002\u8fd9\u79cd\u673a\u5236\u4f7f\u5f97\u4eba\u4e0e\u8ba1\u7b97\u673a\u4e4b\u95f4\u7684\u4ea4\u4e92\u53d8\u5f97\u7b80\u5355\u76f4\u89c2\u3002<\/p>\n<\/p>\n<p><p>\u53e6\u5916\uff0c\u67d0\u4e9b\u4f4e\u7ea7\u522b\u7684\u786c\u4ef6\u901a\u4fe1\u4e5f\u4f9d\u8d56\u4e8eASCII\u7801\u3002\u4f8b\u5982\uff0c\u4e32\u884c\u901a\u4fe1\u534f\u8bae\u5982RS-232\u5728\u4f20\u8f93\u65f6\u4f7f\u7528ASCII\u5b57\u7b26\u6765\u6807\u8bc6\u6570\u636e\u7684\u5f00\u59cb\u548c\u7ed3\u675f\uff0c\u8fd9\u786e\u4fdd\u4e86\u8bbe\u5907\u4e4b\u95f4\u80fd\u6b63\u786e\u5730\u540c\u6b65\u548c\u4ea4\u6362\u4fe1\u606f\u3002<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u4e0a\u8ff0\u51e0\u70b9\uff0c\u6211\u4eec\u53ef\u4ee5\u660e\u663e\u770b\u5230ASCII\u7801\u5728\u8ba1\u7b97\u673a\u79d1\u5b66\u9886\u57df\u4e2d\u7684\u91cd\u8981\u6027\u662f\u591a\u65b9\u9762\u7684\u3002\u73b0\u4ee3\u7f16\u7801\u7cfb\u7edf\u5982UTF-8\u548cUnicode\u867d\u7136\u5728\u56fd\u9645\u5316\u548c\u591a\u8bed\u8a00\u652f\u6301\u65b9\u9762\u8d85\u8d8a\u4e86ASCII\uff0c\u4f46ASCII\u7801\u4ecd\u7136\u662f\u73b0\u4ee3\u5b57\u7b26\u7f16\u7801\u53d1\u5c55\u7684\u57fa\u7840\uff0c\u5e76\u5728\u8bb8\u591a\u5e94\u7528\u4e2d\u7ee7\u7eed\u53d1\u6325\u7740\u91cd\u8981\u4f5c\u7528\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>\u4ec0\u4e48\u662fASCII\u7f16\u7801\u8868\uff1f<\/strong><\/p>\n<p>ASCII\u7f16\u7801\u8868\u662f\u4e00\u79cd\u7528\u4e8e\u5c06\u5b57\u7b26\u8f6c\u6362\u4e3a\u6570\u5b57\u7684\u7f16\u7801\u7cfb\u7edf\u3002\u5b83\u5b9a\u4e49\u4e86128\u4e2a\u5e38\u7528\u5b57\u7b26\u7684\u6570\u5b57\u7f16\u7801\uff0c\u5305\u62ec\u5927\u5199\u548c\u5c0f\u5199\u5b57\u6bcd\u3001\u6570\u5b57\u3001\u6807\u70b9\u7b26\u53f7\u548c\u4e00\u4e9b\u7279\u6b8a\u5b57\u7b26\u3002ASCII\u7f16\u7801\u8868\u662f\u8ba1\u7b97\u673a\u79d1\u5b66\u4e2d\u975e\u5e38\u91cd\u8981\u7684\u57fa\u7840\u77e5\u8bc6\u4e4b\u4e00\u3002<\/p>\n<p><strong>ASCII\u7f16\u7801\u8868\u5728\u8ba1\u7b97\u673a\u79d1\u5b66\u4e2d\u7684\u4f5c\u7528\u662f\u4ec0\u4e48\uff1f<\/strong><\/p>\n<p>ASCII\u7f16\u7801\u8868\u5728\u8ba1\u7b97\u673a\u79d1\u5b66\u4e2d\u6709\u7740\u91cd\u8981\u7684\u4f5c\u7528\u3002\u9996\u5148\uff0c\u5b83\u63d0\u4f9b\u4e86\u4e00\u79cd\u6807\u51c6\u7684\u5b57\u7b26\u7f16\u7801\u7cfb\u7edf\uff0c\u4f7f\u5f97\u4e0d\u540c\u8ba1\u7b97\u673a\u7cfb\u7edf\u95f4\u53ef\u4ee5\u51c6\u786e\u5730\u8bc6\u522b\u548c\u5904\u7406\u5b57\u7b26\u3002\u5176\u6b21\uff0cASCII\u7f16\u7801\u8868\u4e5f\u4e3a\u8ba1\u7b97\u673a\u7a0b\u5e8f\u7684\u5f00\u53d1\u63d0\u4f9b\u4e86\u4fbf\u5229\uff0c\u7a0b\u5e8f\u5458\u53ef\u4ee5\u901a\u8fc7ASCII\u7f16\u7801\u6765\u5904\u7406\u548c\u6bd4\u8f83\u5b57\u7b26\u6570\u636e\u3002\u6b64\u5916\uff0cASCII\u7f16\u7801\u4e5f\u4e3a\u8ba1\u7b97\u673a\u7f51\u7edc\u901a\u4fe1\u4e2d\u7684\u5b57\u7b26\u4f20\u8f93\u63d0\u4f9b\u4e86\u57fa\u7840\u3002<\/p>\n<p><strong>ASCII\u7f16\u7801\u8868\u5982\u4f55\u6269\u5c55\u4ee5\u6ee1\u8db3\u66f4\u591a\u5b57\u7b26\u7684\u9700\u6c42\uff1f<\/strong><\/p>\n<p>\u5c3d\u7ba1ASCII\u7f16\u7801\u8868\u53ea\u5305\u542b128\u4e2a\u5b57\u7b26\uff0c\u968f\u7740\u8ba1\u7b97\u673a\u5e94\u7528\u7684\u53d1\u5c55\uff0c\u4eba\u4eec\u9700\u8981\u66f4\u591a\u5b57\u7b26\u6765\u6ee1\u8db3\u4e0d\u540c\u8bed\u8a00\u548c\u7b26\u53f7\u7684\u9700\u6c42\u3002\u4e3a\u6b64\uff0c\u4eba\u4eec\u53d1\u5c55\u4e86\u6269\u5c55\u7684ASCII\u7f16\u7801\u8868\uff0c\u5982ISO-8859\u548cUnicode\u7f16\u7801\u3002\u8fd9\u4e9b\u7f16\u7801\u8868\u53ef\u4ee5\u5305\u542b\u66f4\u591a\u5b57\u7b26\uff0c\u5e76\u63d0\u4f9b\u4e86\u652f\u6301\u4e0d\u540c\u8bed\u8a00\u548c\u7b26\u53f7\u7684\u80fd\u529b\u3002\u901a\u8fc7\u4f7f\u7528\u8fd9\u4e9b\u6269\u5c55\u7684\u7f16\u7801\u8868\uff0c\u8ba1\u7b97\u673a\u53ef\u4ee5\u5904\u7406\u66f4\u591a\u79cd\u7c7b\u7684\u5b57\u7b26\u6570\u636e\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"ASCII\u7801\uff08American Standard Code for Information Interchan [&hellip;]","protected":false},"author":3,"featured_media":305333,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/305309"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=305309"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/305309\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/305333"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=305309"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=305309"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=305309"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}