Java:如何编写“阿拉伯语"在属性文件中? [英] Java: How to write "Arabic" in properties file?

查看:23
本文介绍了Java:如何编写“阿拉伯语"在属性文件中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在消息资源包(属性)文件中写入阿拉伯语",但是当我尝试保存它时出现此错误:

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

无法完成保存某些字符无法使用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 = اسم المستخدم

我应该如何在属性文件中写用户名"的阿拉伯语?所以,国际化是有效的..

How should I write the Arabic of "username" in properties file? So, that internationalization works..

BRSC

推荐答案

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屋!

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