`
cdwzwd
  • 浏览: 121839 次
  • 性别: 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 ...

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

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

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

    A pracitcal introduction to hardware software codesign

    1 The Nature of Hardware and Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.1 Introducing Hardware/Software Codesign .. . . . . . . . . . . . . . . . . . . . . . ...

    Blast2KEGG-开源

    Blast2KEGG提供了一种方法,可通过其注释将预测的基因映射至途径,然后在KEGG图上进行绘制。 它执行从酶名称到EC号的模糊匹配。 此应用程序中集成了注释编辑器和基因组浏览器。

    Thinking in Java 4th Edition

    Preface 1 Java SE5 and SE6 .................. 2 Java SE6 ......................................... 2 The 4th edition........................ 2 Changes .......................................... 3 Note...

    struts_2.3.12GA_API文档(chm版本)

    --------------------------------------------------------------------------------...Map with errors mapped from fieldname (String) to Collection of String error messages ---------------------------------...

    SQLAlchemy Documentation

    1 Overview 3 1.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.2 Documentation Overview . . . . . . . . . . . . . . . . . . . . . . . ....

    python3.6.5参考手册 chm

    PEP 529: Change Windows filesystem encoding to UTF-8 PEP 528: Change Windows console encoding to UTF-8 PEP 520: Preserving Class Attribute Definition Order PEP 468: Preserving Keyword Argument ...

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

    本代码用来对WinCE环境下内存映射的读写,当在系统总线上扩展新的硬件设备时会非常重要。

    S7A驱动720版本

    - Communication error messages will be now displayed in the alarm history of iFIX. This helps to detect, trace and solve communication issues. - Support for MATRIX licence key added. This key does...

    acpi控制笔记本风扇转速

    ResourceTemplate, but cannot be disassembled as such because the EndTag does not appear at the very end of the buffer. AcpiExec - Added the "-t" command line option to enable the serialized mode of ...

Global site tag (gtag.js) - Google Analytics