问题在Eclipse中显示日文字符 [英] Issue Displaying Japanese Characters in Eclipse

查看:282
本文介绍了问题在Eclipse中显示日文字符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的ecliplse IDE正在显示垃圾字符而不是正确的日文字符...



尝试了许多策略,我的编码设置为UTF-8 ...但







任何帮助将被接受...
提前感谢

解决方案


  1. 在Workspace目录中打开此文件: code>< your_workspace_dir> \.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclipse.ui.ide.prefs


  2. 将这行添加到该文件中: IDE_ENCODINGS_PREFERENCE = EUC-JP'Shift_JIS'


  3. 重新启动Eclipse

  4. 打开设置:窗口>首选项>常规> Workspace>文本文件
    编码。在其他:在下拉列表中选择EUC-JP。


  5. Ok - >重新打开文件;



My ecliplse IDE is displaying junk characters instead of the correct japanese characters...

Tried many strategies , my encoding is set to UTF-8...but still no outcome.

Screenshots for references are attached..

Any help will be accepted... Thanks in advance.

解决方案

  1. Open this file in your Workspace directory: <your_workspace_dir>\.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclipse.ui.ide.prefs

  2. Append this line to that file: IDE_ENCODINGS_PREFERENCE=EUC-JP'Shift_JIS'

  3. Restart Eclipse
  4. Open Setting: Window > Preferences > General > Workspace > Text File Encoding. In Other: select "EUC-JP" in dropdown.

  5. Ok -> re-open that file;

这篇关于问题在Eclipse中显示日文字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆