{"id":20835,"date":"2024-11-19T09:50:29","date_gmt":"2024-11-19T01:50:29","guid":{"rendered":"https:\/\/fwq.ai\/blog\/20835\/"},"modified":"2024-11-19T09:50:29","modified_gmt":"2024-11-19T01:50:29","slug":"notepad%e4%b9%b1%e7%a0%81%e6%80%8e%e4%b9%88%e5%8a%9e","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/20835\/","title":{"rendered":"notepad\u4e71\u7801\u600e\u4e48\u529e"},"content":{"rendered":"<blockquote><p>\n  notepad\u4e71\u7801\u56e0\u7f16\u7801\u4e0d\u517c\u5bb9\u5f15\u8d77\uff0c\u89e3\u51b3\u65b9\u6cd5\u4e3a\uff1a\u786e\u5b9a\u6587\u4ef6\u7f16\u7801\uff0c\u9009\u62e9\u6b63\u786e\u7f16\u7801\u91cd\u65b0\u4fdd\u5b58\uff1b\u4f7f\u7528\u547d\u4ee4\u63d0\u793a\u7b26\u66f4\u6539\u7f16\u7801\uff1b\u5b89\u88c5powertoys\uff0c\u8f6c\u6362\u5230utf-8\u7f16\u7801\uff1b\u5c1d\u8bd5\u5728\u7ebf\u8f6c\u6362\u5668\u5c06\u6587\u4ef6\u8f6c\u6362\u4e3a\u6b63\u786e\u7f16\u7801\u3002\n<\/p><\/blockquote>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/202404\/08\/2024040801092316240.jpg\" class=\"aligncenter\" title=\"notepad\u4e71\u7801\u600e\u4e48\u529e\u63d2\u56fe\" alt=\"notepad\u4e71\u7801\u600e\u4e48\u529e\u63d2\u56fe\" \/><\/p>\n<p><strong>\u5982\u4f55\u89e3\u51b3 Notepad \u4e71\u7801\u95ee\u9898<\/strong><\/p>\n<p>Notepad \u4e71\u7801\u95ee\u9898\u901a\u5e38\u662f\u7531\u7f16\u7801\u4e0d\u517c\u5bb9\u5bfc\u81f4\u7684\u3002\u5f53\u6253\u5f00\u4e00\u4e2a\u4f7f\u7528\u4e0d\u540c\u7f16\u7801\u4fdd\u5b58\u7684\u6587\u4ef6\u65f6\uff0c\u5c31\u4f1a\u51fa\u73b0\u4e71\u7801\u3002\u4ee5\u4e0b\u662f\u89e3\u51b3\u6b64\u95ee\u9898\u7684\u6b65\u9aa4\uff1a<\/p>\n<p><strong>1. \u786e\u5b9a\u6587\u4ef6\u7f16\u7801<\/strong><\/p>\n<ul>\n<li>\u6253\u5f00 Notepad++ \u6216\u5176\u4ed6\u6587\u672c\u7f16\u8f91\u5668\uff0c\u8be5\u7f16\u8f91\u5668\u652f\u6301\u67e5\u770b\u6587\u4ef6\u7f16\u7801\u3002<\/li>\n<li>\u8f6c\u5230\u201c\u7f16\u7801\u201d\u83dc\u5355\u5e76\u9009\u62e9\u201c\u7f16\u7801\u8f6c\u6362\u201d\u3002<\/li>\n<li>\u5728\u201c\u7f16\u7801\u201d\u4e0b\u62c9\u83dc\u5355\u4e2d\uff0c\u9009\u62e9\u4e0d\u540c\u7684\u7f16\u7801\u9009\u9879\uff0c\u4f8b\u5982 UTF-8\u3001UTF-16 \u6216 ANSI\uff0c\u76f4\u5230\u4e71\u7801\u6d88\u5931\u3002<\/li>\n<\/ul>\n<p><strong>2. \u4fdd\u5b58\u6587\u4ef6\u5e76\u9009\u62e9\u7f16\u7801<\/strong><\/p>\n<ul>\n<li>\u786e\u5b9a\u6587\u4ef6\u7f16\u7801\u540e\uff0c\u8bf7\u5c06\u6587\u4ef6\u53e6\u5b58\u4e3a\u65b0\u6587\u4ef6\u3002<\/li>\n<li>\u5728\u4fdd\u5b58\u5bf9\u8bdd\u6846\u4e2d\uff0c\u5355\u51fb\u201c\u4fdd\u5b58\u7c7b\u578b\u201d\u4e0b\u62c9\u83dc\u5355\u5e76\u9009\u62e9\u5177\u6709\u6b63\u786e\u7f16\u7801\u7684\u9009\u9879\uff0c\u4f8b\u5982\u201cUTF-8 \u6587\u672c\u6587\u4ef6\u201d\u3002<\/li>\n<li>\u4fdd\u5b58\u6587\u4ef6\u540e\uff0c\u4e71\u7801\u5e94\u8be5\u6d88\u5931\u4e86\u3002<\/li>\n<\/ul>\n<p><strong>3. \u4f7f\u7528\u547d\u4ee4\u63d0\u793a\u7b26\u66f4\u6539\u7f16\u7801\uff08\u4ec5\u9650 Windows\uff09<\/strong><\/p>\n<ul>\n<li>\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\u3002<\/li>\n<li>\u952e\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/li>\n<\/ul>\n<pre>type input.txt | chcp 65001 &gt; output.txt<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<ul>\n<li>\u6b64\u547d\u4ee4\u5c06\u4f7f\u7528 UTF-8 \u7f16\u7801\u5c06 input.txt \u8f6c\u6362\u4e3a output.txt\u3002<\/li>\n<\/ul>\n<p><strong>4. \u4f7f\u7528 PowerToys\uff08\u4ec5\u9650 Windows\uff09<\/strong><\/p>\n<ul>\n<li>\u5b89\u88c5 PowerToys\uff0c\u8fd9\u662f\u4e00\u4e2a Microsoft \u5de5\u5177\uff0c\u63d0\u4f9b\u591a\u79cd\u5b9e\u7528\u529f\u80fd\u3002<\/li>\n<li>\u542f\u7528\u201c\u6587\u672c\u6587\u4ef6\u7f16\u7801\u201d\u5b9e\u7528\u5de5\u5177\u3002<\/li>\n<li>\u6253\u5f00 Notepad\uff0c\u8f6c\u5230\u201cPowerToys\u201d\u83dc\u5355\u5e76\u9009\u62e9\u201c\u8f6c\u6362\u5230 UTF-8\u201d\u3002<\/li>\n<li>\u6b64\u64cd\u4f5c\u5c06\u5c06\u9009\u5b9a\u7684\u6587\u672c\u8f6c\u6362\u4e3a UTF-8 \u7f16\u7801\u3002<\/li>\n<\/ul>\n<p><strong>5. \u4f7f\u7528\u5728\u7ebf\u8f6c\u6362\u5668<\/strong><\/p>\n<ul>\n<li>\u5982\u679c\u4e0a\u8ff0\u65b9\u6cd5\u65e0\u6548\uff0c\u60a8\u53ef\u4ee5\u5c1d\u8bd5\u4f7f\u7528\u5728\u7ebf\u8f6c\u6362\u5668\u5c06\u6587\u4ef6\u8f6c\u6362\u4e3a\u6b63\u786e\u7684\u7f16\u7801\u3002<\/li>\n<li>\u6709\u8bb8\u591a\u5728\u7ebf\u5de5\u5177\u53ef\u7528\u4e8e\u6b64\u76ee\u7684\uff0c\u4f8b\u5982 Convert Text \u548c Coolutils\u3002<\/li>\n<\/ul>\n<p>\u901a\u8fc7\u6267\u884c\u8fd9\u4e9b\u6b65\u9aa4\uff0c\u60a8\u53ef\u4ee5\u89e3\u51b3 Notepad \u4e71\u7801\u95ee\u9898\u5e76\u6b63\u786e\u663e\u793a\u60a8\u7684\u6587\u672c\u6587\u4ef6\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u4e71\u7801\u600e\u4e48\u529e\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>notepad\u4e71\u7801\u56e0\u7f16\u7801\u4e0d\u517c\u5bb9\u5f15\u8d77\uff0c\u89e3\u51b3\u65b9\u6cd5\u4e3a\uff1a\u786e\u5b9a\u6587\u4ef6\u7f16\u7801\uff0c\u9009\u62e9\u6b63\u786e\u7f16\u7801\u91cd\u65b0\u4fdd\u5b58\uff1b\u4f7f\u7528\u547d\u4ee4\u63d0\u793a\u7b26\u66f4\u6539\u7f16\u7801\uff1b\u5b89\u88c5powertoys\uff0c\u8f6c\u6362\u5230utf-8\u7f16\u7801\uff1b\u5c1d\u8bd5\u5728\u7ebf\u8f6c\u6362\u5668\u5c06\u6587\u4ef6\u8f6c\u6362\u4e3a\u6b63\u786e\u7f16\u7801\u3002 \u5982\u4f55\u89e3\u51b3 Notepad \u4e71\u7801\u95ee\u9898 Notepad \u4e71\u7801\u95ee\u9898\u901a\u5e38\u662f\u7531\u7f16\u7801\u4e0d\u517c\u5bb9\u5bfc\u81f4\u7684\u3002\u5f53\u6253\u5f00\u4e00\u4e2a\u4f7f\u7528\u4e0d\u540c\u7f16\u7801\u4fdd\u5b58\u7684\u6587\u4ef6\u65f6\uff0c\u5c31\u4f1a\u51fa\u73b0\u4e71\u7801\u3002\u4ee5\u4e0b\u662f\u89e3\u51b3\u6b64\u95ee\u9898\u7684\u6b65\u9aa4\uff1a 1. \u786e\u5b9a\u6587\u4ef6\u7f16\u7801 \u6253\u5f00 Notepad++ \u6216\u5176\u4ed6\u6587\u672c\u7f16\u8f91\u5668\uff0c\u8be5\u7f16\u8f91\u5668\u652f\u6301\u67e5\u770b\u6587\u4ef6\u7f16\u7801\u3002 \u8f6c\u5230\u201c\u7f16\u7801\u201d\u83dc\u5355\u5e76\u9009\u62e9\u201c\u7f16\u7801\u8f6c\u6362\u201d\u3002 \u5728\u201c\u7f16\u7801\u201d\u4e0b\u62c9\u83dc\u5355\u4e2d\uff0c\u9009\u62e9\u4e0d\u540c\u7684\u7f16\u7801\u9009\u9879\uff0c\u4f8b\u5982 UTF-8\u3001UTF-16 \u6216 ANSI\uff0c\u76f4\u5230\u4e71\u7801\u6d88\u5931\u3002 2. \u4fdd\u5b58\u6587\u4ef6\u5e76\u9009\u62e9\u7f16\u7801 \u786e\u5b9a\u6587\u4ef6\u7f16\u7801\u540e\uff0c\u8bf7\u5c06\u6587\u4ef6\u53e6\u5b58\u4e3a\u65b0\u6587\u4ef6\u3002 \u5728\u4fdd\u5b58\u5bf9\u8bdd\u6846\u4e2d\uff0c\u5355\u51fb\u201c\u4fdd\u5b58\u7c7b\u578b\u201d\u4e0b\u62c9\u83dc\u5355\u5e76\u9009\u62e9\u5177\u6709\u6b63\u786e\u7f16\u7801\u7684\u9009\u9879\uff0c\u4f8b\u5982\u201cUTF-8 \u6587\u672c\u6587\u4ef6\u201d\u3002 \u4fdd\u5b58\u6587\u4ef6\u540e\uff0c\u4e71\u7801\u5e94\u8be5\u6d88\u5931\u4e86\u3002 3. \u4f7f\u7528\u547d\u4ee4\u63d0\u793a\u7b26\u66f4\u6539\u7f16\u7801\uff08\u4ec5\u9650 Windows\uff09 \u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\u3002 \u952e\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a type input.txt | chcp 65001 &gt; output.txt \u767b\u5f55\u540e\u590d\u5236 \u6b64\u547d\u4ee4\u5c06\u4f7f\u7528 UTF-8 \u7f16\u7801\u5c06 input.txt \u8f6c\u6362\u4e3a output.txt\u3002 4. \u4f7f\u7528 PowerToys\uff08\u4ec5\u9650 Windows\uff09 \u5b89\u88c5 PowerToys\uff0c\u8fd9\u662f\u4e00\u4e2a Microsoft \u5de5\u5177\uff0c\u63d0\u4f9b\u591a\u79cd\u5b9e\u7528\u529f\u80fd\u3002 \u542f\u7528\u201c\u6587\u672c\u6587\u4ef6\u7f16\u7801\u201d\u5b9e\u7528\u5de5\u5177\u3002 \u6253\u5f00 Notepad\uff0c\u8f6c\u5230\u201cPowerToys\u201d\u83dc\u5355\u5e76\u9009\u62e9\u201c\u8f6c\u6362\u5230 UTF-8\u201d\u3002 \u6b64\u64cd\u4f5c\u5c06\u5c06\u9009\u5b9a\u7684\u6587\u672c\u8f6c\u6362\u4e3a UTF-8 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-20835","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/20835","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=20835"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/20835\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=20835"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=20835"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=20835"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}