0

Im having trouble with Internationalizing my Eclipse RCP application for non-Latin characters.

I am storing Chinese characters in UTF-8 format in the property files. But reading them out does not work properly, they are all displayed like gibberish.

I am wondering if there is an easier way to do this, without overriding the provided NLS classes.

4

1 回答 1

0

属性文件通常编码为 ISO-8859-1,覆盖它不是一个好主意。您可以使用 \uNNNN 表示法在文件中指定 Unicode 字符。

于 2013-11-13T15:56:48.487 回答