Java:如何写“阿拉伯语”在属性文件中? [英] Java: How to write "Arabic" in properties file?
问题描述
我想在消息资源包(属性)文件中写阿拉伯语,但是当我尝试保存它时,我收到此错误:
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完成
某些字符无法使用ISO-85591-1字符编码进行映射。更改编码或删除字符...
"Save couldn't be completed Some characters cannot be mapped using "ISO-85591-1" character encoding. Either change encoding or remove the character ..."
可以有人请指导吗?
我想写:
global.username =اسمالمستخدم
global.username = اسم المستخدم
我应该如何在属性文件中写username的阿拉伯语?那么,国际化是有效的..
How should I write the Arabic of "username" in properties file? So, that internationalization works..
BR
SC
BR SC
推荐答案
http://sourceforge.net/projects/eclipse-rbe/
您可以使用上面的eclipse IDE插件为您进行Unicode转换。
You can use the above plugin for eclipse IDE to make the Unicode conversion for you.
这篇关于Java:如何写“阿拉伯语”在属性文件中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!