2
在Liferay Portal 6.2中,我创建了一个具有language.properties
文件的portlet。 的portlet.xml
这样的:为什么Liferay 6.2中的UTF-8编码值(在language.properties中)被错误解释?
<resource-bundle>com.test.portlet.featuretest.content.Language</resource-bundle>
的language.properties
写着:
no-customer-were-found=no customer
first-name=FIRST NAME
last-name=\u0646\u0627\u0645 \u062E\u0627\u0646\u0648\u0627\u062F\u06AF\u06CC
在view.jsp
没有财产以后这样的:没有加载
为什么UTF字符。 (???)但在liferay 6.0.6中一切都是真实的。
有什么建议吗?
好吧。 –