怎么在.js文件里写中文注释

来源:百度知道 编辑:UC知道 时间:2024/06/15 01:46:54
我建了个.js文件。我想在里面加入中文注释。但是每当我保存的时候总是出现错误提示。我用的是myeclipse5.0版本。
错误提示如下:
Save cold not be completed
Reason:
Some characters cannot be mapped using "US-ASCII" character encoding.Either change the encoding or remove the characters which are not supported by the "US-ASCII"character encoding

请问我该怎么样设置

这倒是不清楚!
可以尝试把整个文件保存为UNICODE编码!
选择文件另存,在下面会有一编码选择!

//注释 单行
/*多行注释*/

\\注释

用记事本打开另存为的时候用unicode?