Java: How to write “Arabic” in properties file?

前端 未结 7 1980
自闭症患者
自闭症患者 2021-01-05 09:32

I want to write \"Arabic\" in the message resource bundle (properties) file but when I try to save it I get this error:

\"Save couldn\'t be completed Some characters

7条回答
  •  鱼传尺愫
    2021-01-05 10:06

    If you are using Eclipse, you can choose "Window-->Preferences" and then filter on "content types". Then you should be able to set the default encoding. There's a screen shot showing this at the top of this post.

提交回复
热议问题