idea创建.proterties配置文件和国际化转换

一、idea创建.proterties配置文件

1.idea创建.proterties配置文件和国际化转换
2.idea创建.proterties配置文件和国际化转换

二、利用Java国际化转换

1.找到jdk的安装路径找到bin目录里面有一个native2ascii.exe程序可以直接进行转换
2.打开命令行窗口进入上面找到的目录
3.命令
中文转Unicode:native2ascii -encoding GBK(或GB2312) D:\message_zh_CN.properties message_zh_CN.properties
Unicode转中文:native2ascii -reverse -encoding GBK D:\message_zh_CN.properties message_zh_CN.properties

idea创建.proterties配置文件和国际化转换

相关文章:

  • 2021-10-23
  • 2021-06-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-29
  • 2021-12-13
猜你喜欢
  • 2021-04-09
  • 2022-12-23
  • 2022-12-23
  • 2022-02-21
  • 2022-12-23
  • 2021-08-12
  • 2021-04-03
相关资源
相似解决方案