Java: How to write quot;Arabicquot; in properties file?(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:如何编写“阿拉伯语"在属性文件中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Java:如何编写“阿拉伯语"在属性文件中?


基础教程推荐
- 在 Libgdx 中处理屏幕的正确方法 2022-01-01
- Java Keytool 导入证书后出错,"keytool error: java.io.FileNotFoundException &拒绝访问" 2022-01-01
- 减少 JVM 暂停时间 >1 秒使用 UseConcMarkSweepGC 2022-01-01
- FirebaseListAdapter 不推送聊天应用程序的单个项目 - Firebase-Ui 3.1 2022-01-01
- 如何使用 Java 创建 X509 证书? 2022-01-01
- Java:带有char数组的println给出乱码 2022-01-01
- 降序排序:Java Map 2022-01-01
- 无法使用修饰符“public final"访问 java.util.Ha 2022-01-01
- “未找到匹配项"使用 matcher 的 group 方法时 2022-01-01
- 设置 bean 时出现 Nullpointerexception 2022-01-01