简体   繁体   English

每次启动/重新启动Eclipse时,它都会将文本文件编码更改为其他:UTF-8而不是默认值(Cp1252)

[英]Every time I start/restart Eclipse it changes the Text File Encoding to Other: UTF-8 instead of the Default (Cp1252)

so I have been reading and trying all the options I have found online with no success. 所以我一直在阅读并尝试在网上找到的所有选项都没有成功。 The Problem: Every time I start/restart my Eclipse (Neon 4.6.2) the encoding is set back to Other: UTF-8 (I want it to be the Default Cp1252 ). 问题:每次启动/重新启动Eclipse(Neon 4.6.2)时,编码都会重新设置为Other:UTF-8 (我希望它是默认的Cp1252 )。 Screenshot . 截图

I have set the encoding in eclipse.ini to -Dfile.encoding=Cp1252 . 我已将eclipse.ini的编码设置为-Dfile.encoding=Cp1252 Also tried the -Dclient.encoding.override=Cp1252 option. 还尝试了-Dclient.encoding.override=Cp1252选项。 No help. 没有帮助。 Also set all other possible encodings in eclipse->Window->Preferences to Cp1252 . 同时在eclipse-> Window-> Preferences中将所有其他可能的编码设置为Cp1252 No success. 没有成功。 Info: OS Windows 10, Java JDK1.8.0_112 信息:OS Windows 10,Java JDK1.8.0_112

Anyone have any ideas? 有人有主意吗? I read that the encoding can be influenced by my JVM-encoding? 我读到编码可能会受到我的JVM编码的影响? I am really clueless here. 我在这里真的很无能为力。

我通过在Ooomp - > Setup Tasks Preference页面中启用“在启动时跳过自动任务执行”选项来修复它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 是什么让Ant在Eclipse中使用UTF-8而不是我的系统默认Cp1252执行'javac'? - What would make Ant execute 'javac' in Eclipse with UTF-8 instead of my system default Cp1252? 有没有办法使用 java 查找文件编码类型(UTF-8 或 ANSI 或 Cp1252 或其他) - Is there a way to find file encoding type (UTF-8 or ANSI or Cp1252 or others) using java 编码cp1252 - Encoding cp1252 编码Cp1252在XML文件中是否无效? - Is encoding Cp1252 invalid in an XML file? 如何可靠地猜测 MacRoman、CP1252、Latin1、UTF-8 和 ASCII 之间的编码 - How to reliably guess the encoding between MacRoman, CP1252, Latin1, UTF-8, and ASCII 即使字符串采用UTF-8,电子邮件主题仍以CP1252编码设置 - EMail subject get set in CP1252 encoding even though the string is in UTF-8 CP1252转UTF-8编码后的特殊字符 - Special characters after converting from CP1252 to UTF-8 encoding 为什么我的简化DES实现在Cp1252编码下可以正常工作,而在UTF-8下却不能正常工作? - Why is my implementation of Simplified DES working fine under Cp1252 encoding but not under UTF-8? 从Cp1252到UTF-8的Spring MVC编码请求 - Spring MVC encode request from Cp1252 to UTF-8 从UTF-8格式的pdf文件中读取并将其写入cp1252格式的写入器中 - Reading from UTF-8 formatted pdf file and writing it to a writer in cp1252 format
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM