我有一些本地化資源文件(例如messages_es.properties)需要使用unicode才能在瀏覽器中正確顯示。爲了避免必須存儲資源文件的unicode和非unicode *版本,我想將轉換爲unicode任務併入到maven版本中。有沒有簡單的方法/工具來做到這一點?將字符串轉換爲unicode作爲maven版本的一部分
例
label.button.loadMoreImages=CARGAR MÁS IMÁGENES
- >label.button.loadMoreImages=CARGAR MÁS IMÁGENES
*容易得多,當文字變成工作,需要重新翻譯
也許這可以幫助:http://stackoverflow.com/questions/8330485/how-to-convert-ascii-to-utf8-with-maven – 2013-03-19 11:00:06
它可能會更好,如果您的翻譯使用適當的屬性文件編輯。 – McDowell 2013-03-19 11:10:17
@McDowell - 不在我的控制範圍內 – wheresrhys 2013-03-19 11:29:49