some character can not mapped using "iso-8859-1" character encoding ......
1.右键选种 该项目,或该文件
2.点击 properties ,看到左边 第一个 选项 info 了吧。
左边就是该选项的详细信息
3.更改里面的 Text File Encoding
选择 other 里面的 utf-8 (推荐喽)
然后ok了。
方法一: 使用eclipse的jinto插件编辑,会自动调用java的native2ascii把文件转码。
方法二: 1. Eclipse-->Preferences..(MyEclipse --> Window -->Preferences:)
2. 在“type filter text“的框框里输入”Content Types
3. 输入完后,Eclipse 会自动进行查找,然后会在右边显示出 Content Types 的属性
4. 点击右边的Text,选择 Java Properties File,看一下 下面的两个选项
<1>:File associatios: ----- 看看里面有没有 你需要的文件类型,
默认的是*.porperties(locked)
我需要的*.js ,所以这时点击 Add 按钮,自己添写file type,
我写的是 *.js 哦,点击ok
<2>:Default encoding: ----- 这里默认的值不是utf-8,
也是需要自己更改,删除掉原来的,写上
你需要的,然后点击Update ,就好了。
这里我只尝试 方法二,所以也写得比较详细(呵呵,应该说改的比较详细,因为是改别的前辈的)。
有朋友一定喜欢方法一的,可以自己尝试下。
分享到:
相关推荐
有时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)。 数据传输对象是用于封装数据并将其从应用程序的一部分发送到...
Gets a message based on a key using the supplied args, as defined in MessageFormat, or, if the message is not found, a supplied default value is returned. String getText(String key, String default...
mytabis 报错 Mapped Statements collection does not contain value for
MDB: A Memory-Mapped Database and Backend for OpenLDAP
MemoryMappedFile 使用 C# 内存中分配一大块地址. 前边分配一个用与共同配置用 后边N个结构体 for循环建 一般用到此问题,两本程序 一个读一个写 循环读写 ----2015/09/24 Lyndon 上海----
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 ...
go-mapped-csv 类似于stdlib的encoding / csv,不同之处在于它根据传递的列编写映射。 查看。 执照 麻省理工学院
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 ...
Memory-Mapped Files for Qualcomm Brew By Ray Rischpater
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 ...
黑金zynq入门教程,ALINX黑金Zynq7000开収平台 配套教程第二部
基于.NET4.0的MemoryMappedFile实现共享内存通信 共享内存通信可以解决跨线程、跨进程、跨EXE之间通信的问题 对于需要传输图片等引用类数据,可以通过序列化和反序列化配合共享内存实现跨进程(跨EXE)通信 共享...
Encodes the specified URL by including the session ID in it, or, if encoding is not needed, returns the URL unchanged. -------------------------------------------------------------------------------...
本代码用来对WinCE环境下内存映射的读写,当在系统总线上扩展新的硬件设备时会非常重要。
1 What's Wrong With Assembly Language 2 What's Right With Assembly Language? 3 Organization of This Text and Pedagogical Concerns 4 Obtaining Program Source Listings and Other Materials ...