Android Studio项目编码默认值 [英] Android Studio Project Encoding Default Value
问题描述
我正在使用Android Studio 1.2,当我创建一个项目,然后我通过文件 - >设置 - >编辑器 - >文件编码文件编码设置窗口>,在我的电脑(Windows 7 64位)上,项目编码选项默认为 GBK
。我可以手动将其更改为每个项目的 UTF-8
,但是有没有办法让它默认为 UTF-8
直接?
I'm using Android Studio 1.2, when I create a project, then I open the File Encodings setting window via File -> Settings -> Editor -> File Encodings, there is the Project Encoding option which defaults to GBK
on my computer (Windows 7 64 bit). I could manually change it to UTF-8
for each project, but is there a way to let it default to UTF-8
directly?
提前感谢
推荐答案
请尝试一下为我工作
文件 - >其他设置 - >默认设置,然后找到文件编码,将项目编码更改为UTF-8。
Please have a try, it works for me. File -> Other Settings -> Default Settings, then find "File Encodings", change Project Encoding to UTF-8.
这篇关于Android Studio项目编码默认值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!