`

Some characters cannot be mapped using "ISO-8859-1" character encoding.

 
阅读更多
eclipse中保存*.java文件时,提示如下的错误,以及解决方法:
Java代码 复制代码 收藏代码
  1. Some characters cannot be mapped using "ISO-8859-1" character encoding.    
  2. Either change the encoding or remove the characters which are not supported    
  3. by the "ISO-8859-1" character encoding  
Some characters cannot be mapped using "GBK" character encoding. 
Either change the encoding or remove the characters which are not supported 
by the "GBK" character encoding

Eclipse --> window --> Preferences --> General --> Content Types --> Text --> 单击 Java Properties File,在底部出现 'Default edcodng:',改成UTF-8,然后update.
分享到:
评论

相关推荐

    eclipse错误解决.rar

    有时struts资源文件添加中文保存时会eclipse出现Some characters cannot be mapped using 'ISO-8859-1' character encoding错误不能保存 解决办法

    PyPI 官网下载 | mapped_config-2.34-py2-none-any.whl

    资源来自pypi官网。 资源全名:mapped_config-2.34-py2-none-any.whl

    plib源代码(The PLIB Portable Interactive Applications Library distribution)

    FNT -- OpenGL texture-mapped font Library. PW -- A minimalist windowing library. PSL -- A C-like scripting language. SSG -- A Simple Scene Graph API built on top of OpenGL. NET -- Some Networking ...

    leetcode伪代码-unique-morse-code-words:独特的莫尔斯电码词

    leetcode伪代码unique-morse-code-...[".-","-...","-.-.","-..",".","..-.","--.","....", "..",".---","-.-",".-..","--","-.","---",".--.","- -.-",".-.","...","-","..-","...-",".--","-..-","-. --","--.."]

    Simulating planar reflection using two-pass rendering and texture mapping

    Simulating planar reflection using two-pass rendering and texture mapping 1. There ‘s a table with flat rectangular semi-reflective table-top in the 3D scene 2. On/Around the table are some 3D ...

    EurekaLog_7.5.0.0_Enterprise

    1)....Added "ECC32TradeSpeedForMemory" option - defaults to 0/False, could be changed to 1 via Custom/Manual tab. This option will switch from fast-methods to slower methods, but which take less ...

    Content-based-Image-Retrieval.rar_After Method

    approach is used, where features are calculated for individual characters. The method is based on eigenimages calculated from edge &#64257 ltered character images, which enables compact feature ...

    hibernate_reference.pdf

    - **The First Class**: This involves defining a simple Java class that will be mapped to a database table. - **The Mapping File**: Here, you learn how to create an XML file that describes the mapping ...

    hibernate-annotations-3.4.0.GA+hibernate-distribution-3.3.2.GA-dist

    @ManyToMany(mappedBy = "users") private Set<Role> roles; } @Entity @Table(name = "roles") public class Role { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; @...

    Read-and-write-memory-mapped-file.rar_SLE4442_memory_映射内存 读写

    标题中的"Read-and-write-memory-mapped-file.rar_SLE4442_memory_映射内存 读写"提到了两个主要概念:SLE4442芯片和内存映射文件的读写操作。SLE4442是一种智能卡芯片,常用于存储安全数据,如加密密钥。在WinCE...

    fpga-drive-aximm-pcie-2018.2.zip

    标题 "fpga-drive-aximm-pcie-2018.2.zip" 暗示了这个压缩包可能包含了一套关于使用FPGA(Field-Programmable Gate Array)驱动AXI-MM(Advanced eXtensible Interface - Memory Mapped)接口以实现PCI Express...

    The Art of Assembly Language Programming

    Mapped Input/Output Operations 3.6.3 Memory Mapped I/O 3.6.4 DMA Exercises 3.6.5 Interrupt Driven I/O Exercises 3.6.6 Machine Language Programming & Instruction Encoding Exercises 3.6.7...

    servlet2.4doc

    Causes the next filter in the chain to be invoked, or if the calling filter is the last filter in the chain, causes the resource at the end of the chain to be invoked. doFilter(ServletRequest, ...

    hibernate-release-5.0.7.Final.zip官方

    <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd"> ...

    Python库 | doclib-1.7.4.2b1-py3-none-any.whl

    6. **性能优化**:为了提高效率,doclib可能进行了内部优化,比如使用内存映射(memory-mapped)技术来处理大型文件,或者使用高效的解析算法。 7. **API设计**:doclib的API设计考虑了易用性和可扩展性,使得...

    Life After BerkeleyDB- OpenLDAP's Memory-Mapped Database

    ### Life After BerkeleyDB: OpenLDAP's Memory-Mapped Database #### Introduction In the realm of database management systems, OpenLDAP's new MDB (Memory-Mapped Database) library marks a significant ...

    log4j-1.2.17.jar

    7. **MDC与NDC**:Mapped Diagnostic Context (MDC) 和Nested Diagnostic Context (NDC) 提供了上下文信息跟踪功能,帮助开发者在分布式系统或多线程环境中定位问题。 总结来说,"log4j-1.2.17.jar"作为Log4j的早期...

    Mapped-Country-Language-Codes:还有全名。 ISO 3166-1 和 639-1

    映射国家语言代码具有相应语言的国家/地区的哈希值和具有相应国家/地区的语言的哈希值。... ISO 3166-1 和 639-1 我在一个项目中需要这个,但在网络上的任何地方都找不到它,所以我做了一些爬行并自己映射了它。

    fpga-drive-aximm-pcie-2019.2.zip

    标题 "fpga-drive-aximm-pcie-2019.2.zip" 暗示了这个压缩包可能包含了一套关于使用FPGA(Field-Programmable Gate Array)驱动AXI-MM(Advanced eXtensible Interface - Memory Mapped)接口以实现PCI Express...

Global site tag (gtag.js) - Google Analytics