1import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{c as i,d as o,o as n}from"./app-BsUIbBAK.js";const a={};function g(l,t){return n(),i("div",null,[...t[0]||(t[0]=[o('<blockquote><p>Win any way as long as you can get away with it. Nice guys finish last. â <cite>Leo Durocher</cite></p></blockquote><p><strong>æ¥éª¤ä¸ï¼</strong></p><p>File->Settings->Editor->File Encodings</p><p>æä»¶->设置->ç¼è¾å¨->æä»¶ç¼ç <img src="https://webdav-1309345210.file.myqcloud.com/images/20180608220601158.jpg" alt="img" loading="lazy"></p><p><strong>æ¥éª¤äºï¼</strong></p><p>File->Other Settings->Default Settings ->Editor->File Encodings</p><p>æä»¶->æ°é¡¹ç®è®¾ç½®->ç¼è¾å¨->æä»¶ç¼ç </p><p><img src="https://webdav-1309345210.file.myqcloud.com/images/20180608212648780.jpg" alt="img" loading="lazy"></p><p><strong>æ¥éª¤ä¸ï¼</strong></p><p>å°é¡¹ç®ä¸ç<strong>.ideaæä»¶å¤¹</strong>ä¸ç<strong><strong>encodings.xml</strong></strong>æä»¶ä¸çç¼ç æ ¼å¼æ¹ä¸ºuft-8</p><p><strong>æ¥éª¤åï¼</strong></p><p>File->Settings->Build,Execution,Deployment -> Compiler -> Java Compiler</p><p>设置 <strong>Additional command line parameters</strong>é项为 <strong>-encoding utf-8</strong></p><p><img src="https://webdav-1309345210.file.myqcloud.com/images/20180608215004536.jpg" alt="img" loading="lazy"></p><p><strong>æ¥éª¤äºï¼</strong></p><ol><li>æå¼Run/Debug Configuration,éæ©ä½ çtomcat</li></ol><p><img src="https://webdav-1309345210.file.myqcloud.com/images/20180608220138855.jpg" alt="img" loading="lazy"></p><ol start="2"><li>ç¶åå¨ Server > VM options 设置为 -Dfile.encoding=UTF-8 ï¼éå¯tomcat</li></ol><p><img src="https://webdav-1309345210.file.myqcloud.com/images/20180608220247543.jpg" alt="img" loading="lazy"></p><p><strong>æ¥éª¤å
ï¼</strong></p><p>æ¸
空æµè§å¨ç¼ååIDEç¼ååè¯ä¸æ¬¡ã</p>',21)])])}const p=e(a,[["render",g]]),c=JSON.parse('{"path":"/posts/%E5%BC%80%E5%8F%91%E7%8E%AF%E5%A2%83%E9%85%8D%E7%BD%AE-%E8%AE%B0%E5%BD%95-%E6%8A%A5%E9%94%99-%E8%A7%A3%E5%86%B3%E6%96%B9%E6%A1%88/intellij-idea-%E7%BB%9F%E4%B8%80%E8%AE%BE%E7%BD%AE%E7%BC%96%E7%A0%81%E4%B8%BAutf-8%E7%BC%96%E7%A0%81.html","title":"IntelliJ IDEA ç»ä¸è®¾ç½®ç¼ç 为utf-8ç¼ç ","lang":"zh-CN","frontmatter":{"title":"IntelliJ IDEA ç»ä¸è®¾ç½®ç¼ç 为utf-8ç¼ç ","categories":["æç« "],"tags":null,"date":"2021-01-08T00:00:00.000Z","description":"Win any way as long as you can get away with it. Nice guys finish last. â Leo Durocher æ¥éª¤ä¸ï¼ File->Settings->Editor->File Encodings æä»¶->设置->ç¼è¾å¨->æä»¶ç¼ç img æ¥éª¤äºï¼ F...","head":[["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"IntelliJ IDEA ç»ä¸è®¾ç½®ç¼ç 为utf-8ç¼ç \\",\\"image\\":[\\"\\"],\\"datePublished\\":\\"2021-01-08T00:00:00.000Z\\",\\"dateModified\\":\\"2026-03-23T16:52:41.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"lamirs\\",\\"url\\":\\"https://lamirs.vercel.app\\"}]}"],["meta",{"property":"og:url","content":"https://lamirs.vercel.app/posts/%E5%BC%80%E5%8F%91%E7%8E%AF%E5%A2%83%E9%85%8D%E7%BD%AE-%E8%AE%B0%E5%BD%95-%E6%8A%A5%E9%94%99-%E8%A7%A3%E5%86%B3%E6%96%B9%E6%A1%88/intellij-idea-%E7%BB%9F%E4%B8%80%E8%AE%BE%E7%BD%AE%E7%BC%96%E7%A0%81%E4%B8%BAutf-8%E7%BC%96%E7%A0%81.html"}],["meta",{"property":"og:site_name","content":"Lamirs â Blog"}],["meta",{"property":"og:title","content":"IntelliJ IDEA ç»ä¸è®¾ç½®ç¼ç 为utf-8ç¼ç "}],["meta",{"property":"og:description","content":"Win any way as long as you can get away with it. Nice guys finish last. â Leo Durocher æ¥éª¤ä¸ï¼ File->Settings->Editor->File Encodings æä»¶->设置->ç¼è¾å¨->æä»¶ç¼ç img æ¥éª¤äºï¼ F..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2026-03-23T16:52:41.000Z"}],["meta",{"property":"article:published_time","content":"2021-01-08T00:00:00.000Z"}],["meta",{"property":"article:modified_time","content":"2026-03-23T16:52:41.000Z"}]]}
1,"git":{"createdTime":1773681537000,"updatedTime":1774284761000,"contributors":[{"name":"Xavier Nico","username":"","email":"[email protected]","commits":1},{"name":"dependabot[bot]","username":"dependabot[bot]","email":"49699333+dependabot[bot]@users.noreply.github.com","commits":1,"url":"https://github.com/dependabot[bot]"}]},"readingTime":{"minutes":0.64,"words":193},"filePathRelative":"posts/å¼åç¯å¢é
ç½®-è®°å½-æ¥é-è§£å³æ¹æ¡/intellij-idea-ç»ä¸è®¾ç½®ç¼ç 为utf-8ç¼ç .md","excerpt":"<blockquote>\\n<p>Win any way as long as you can get away with it. Nice guys finish last.\\nâ <cite>Leo Durocher</cite></p>\\n</blockquote>\\n<p><strong>æ¥éª¤ä¸ï¼</strong></p>\\n<p>File->Settings->Editor->File Encodings</p>\\n<p>æä»¶->设置->ç¼è¾å¨->æä»¶ç¼ç \\n<img src=\\"https://webdav-1309345210.file.myqcloud.com/images/20180608220601158.jpg\\" alt=\\"img\\" loading=\\"lazy\\"></p>","autoDesc":true}');export{p as comp,c as data};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.