用户登录
用户注册

分享至

Java:如何编写“阿拉伯语"在属性文件中?

  • 作者: 虞美人666666
  • 来源: 51数据库
  • 2022-10-21

问题描述

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

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相关