Java's resource file a design purpose is convenient to provide multi-language support, but its support for Unicode is very funny. Many people see such a resource file will feel very familiar:
tongren.oa.system.user.userNameExists = / u7528 / u6237 / u540D / u5DF2 / u7ECF / u5B58 / u5728 / uFF0C / u8BF7 / u91CD / u65B0 / u9009 / u62E9 / u4E00 / u4E2A / u7528 / u6237 / u540Dtongren.oa.system .role.roleNameExists = / u89D2 / u8272 / u540D / u5DF2 / u7ECF / u5B58 / u5728 / uFF0C / u8BF7 / u91CD / u65B0 / u9009 / u62E9 / u4E00 / u4E2A / u89D2 / u8272 / u540Dtongren.oa.system.role.UserAssignedToRole = / U6307 / U5B9A / U89D2 / U8272 / U4E0D / U80FD / U5220 / U9664 / UFF0C / U56E0 / U4E3A / U7528 / U6237 {0} / U62E5 / U6709 / U8FD9 / U4E2A / U89D2 / U8272
My day, how do you read it? Also use the tool to turn it back to Unicode to see the Chinese characters, and the modification will turn back?
Located at last afternoon, I wrote a HTA tool to edit the resource file, and now I can finally modify directly. Automatic conversion is saved. Save the following code as a file that is HTA: