AnsweredAssumed Answered

about I18n

Question asked by lilin on Jul 31, 2005
i try to convert ui to chinese,and my method is:

(1) message.properties

firtly,i create a new properties file(e.g. a.properties) and input chinese message.then, i use "native2ascii -encoding GBK a.properties messages.properties",so chinese character encoded utf-8.

(2) jsp file

in every file,adding "<%@ page contentType="text/html; charset=GB2312" %>"

My idea is character in jsp file not use directly,insteaded by message.properties. only i don't know wether it's reasonable

Outcomes