`
cdwzwd
  • 浏览: 124074 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类

some characters cannot be mapped using “ISO-8859-1 0"character encoding.

阅读更多
今天在Eclipse 中新建一个jsp文件,如果输入中文保存时提示错误: Save could not be completed. Reason: some characters cannot be mapped using “ISO-8859-1“ character encoding. Either change the encoding or remove the characters which are not supported by the “ISO-8859-1“ character encoding.

在网上到了以下几种解决方法,但是下载地址不正确,现将下载地址更改发文。

1.eclipse --> window --> Preferences --> General --> Content Types --> Test --> 单击 Java Properties File,在底部出现 'Default edcodng:',改成utf-8或GBK,然后update. 读者也可对指定类型文件设置编码格式。虽然能保存,但还必须利用 native2ascii 来转换一下,不然输出还是乱码.

UTF-8

2 应该使用eclipse的jinto插件编辑,会自动调用java的native2ascii把文件转码。

jinto插件下载:http://www.guh-software.de/eclipse/

附: Eclipse下安装Properties Editor

    在eclipse下"帮助"---"软件更新"--"查找并安装"--"搜索要安装的新功能部件" ---"下一步"---"新建远程站点"---

     填写"名称":JInto;

     URL为:http://www.guh-software.de/eclipse/点完成,

      让它自己下载插件..

     找到合适的Properties Editor安装,这一个插件是减少转化为utf-8格式,在struts自动转换的.

     这样,eclipse插件就可以自己安装一些
分享到:
评论

相关推荐

    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 ...

    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...

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

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

    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...

    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 ...

    libc.so.6 libc.so.6

    为了提高性能,Glibc提供了多种优化选项,如线程局部存储(Thread Local Storage)减少锁的使用,以及内存映射I/O(Memory-Mapped I/O)提高文件读写效率。同时,Glibc也关注安全性,例如ASLR(Address Space Layout...

    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; @...

    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"> ...

    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 ...

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

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

    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 我在一个项目中需要这个,但在网络上的任何地方都找不到它,所以我做了一些爬行并自己映射了它。

Global site tag (gtag.js) - Google Analytics