MyEclipse中新建一个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 来转换一下,不然输出还是乱码.
2 应该使用eclipse的jinto插件编辑,会自动调用java的native2ascii把文件转码。
jinto插件下载:http://www.guh-software.de/jinto.html
附: Eclipse下安装Properties Editor
在eclipse下"帮助"---"软件更新"--"查找并安装"--"搜索要安装的新功能部件" ---"下一步"---"新建远程站点"---
填写"名称":Properties Editor;
URL为:http://propedit.sourceforge.jp/eclipse/updates/点完成,
让它自己下载插件..
找到合适的Properties Editor安装,这一个插件是减少转化为utf-8格式,在struts自动转换的.
这样,eclipse插件就可以自己安装一些。
分享到:
相关推荐
有时struts资源文件添加中文保存时会eclipse出现Some characters cannot be mapped using 'ISO-8859-1' character encoding错误不能保存 解决办法
资源来自pypi官网。 资源全名:mapped_config-2.34-py2-none-any.whl
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 ...
映射国家语言代码具有相应语言的国家/地区的哈希值和具有相应国家/地区的语言的哈希值。... ISO 3166-1 和 639-1 我在一个项目中需要这个,但在网络上的任何地方都找不到它,所以我做了一些爬行并自己映射了它。
$ npm i --save @nestjs/mapped-types 快速开始 构建功能时,在基本实体类型上构建变体通常很有用。 这种变体的一个很好的例子是数据传输对象(DTO)。 数据传输对象是用于封装数据并将其从应用程序的一部分发送到...
k-space data can also be mapped to low-rank matrices when the image has limited spatial support or slowly varying phase. Based on this, we develop a novel and flexible framework for constrained image ...
--------------------------------------------------------------------------------...Map with errors mapped from fieldname (String) to Collection of String error messages ---------------------------------...
MDB: A Memory-Mapped Database and Backend for OpenLDAP
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 ...
MemoryMappedFile 使用 C# 内存中分配一大块地址. 前边分配一个用与共同配置用 后边N个结构体 for循环建 一般用到此问题,两本程序 一个读一个写 循环读写 ----2015/09/24 Lyndon 上海----
go-mapped-csv 类似于stdlib的encoding / csv,不同之处在于它根据传递的列编写映射。 查看。 执照 麻省理工学院
is self-tuning and, therefore, cannot adapt to changing UDF execution patterns. This paper addresses this problem by introducing a self-tuning cost modeling approach based on the quadtree. The ...
从ftp读取一个供应商数据文件,PI将其转换为IDOC并上传... The CREMAS IDoc is then posted into the backend R/3 System and vendor will be created by the R/3 system provided that it has authorization to do so.
Memory-Mapped Files for Qualcomm Brew By Ray Rischpater
基于.NET4.0的MemoryMappedFile实现共享内存通信 共享内存通信可以解决跨线程、跨进程、跨EXE之间通信的问题 对于需要传输图片等引用类数据,可以通过序列化和反序列化配合共享内存实现跨进程(跨EXE)通信 共享...
本代码用来对WinCE环境下内存映射的读写,当在系统总线上扩展新的硬件设备时会非常重要。
by wavelet packet transformation and then mapped into the critical bands. According to the audio masking threshold, the embedding amplitude in each subband can be determined. And then, the adjustment ...
Life After BerkeleyDB- OpenLDAP's Memory-Mapped Database
approach is used, where features are calculated for individual characters. The method is based on eigenimages calculated from edge fi ltered character images, which enables compact feature ...