geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan <xhh...@gmail.com>
Subject Re: What's the reason that the characters in properties files are in unicode for branch/2.1?
Date Tue, 11 May 2010 08:03:41 GMT
The java properties file could only read those characters in unicode form.
In Geronimo 2.2, to make it easy to edit those property file, we use a mave
plugin to do the convertion in the building process.

2010/5/11 chi runhua <chirunhua@gmail.com>

> Hi devs,
>
> I am about to update some Chinese translation of UI description for
> branche/2.1, but noticed that the Chinese characters in some of .properties
> files are encoded as Unicode, which makes the update kinda difficult.
>
> But in branch/2.2, we don't have the problem.
>
> Any idea why we have two sets of file encoding mechanism for non-en
> characters?
>
> Thanks.
>
> For example.
> [1].
> https://svn.apache.org/repos/asf/geronimo/server/branches/2.1/plugins/console/plugin-portlets/src/main/resources/pluginportlets_zh.properties
> [2].
> https://svn.apache.org/repos/asf/geronimo/server/branches/2.2/plugins/console/plugin-portlets/src/main/resources/pluginportlets_zh.properties
>
>
> Jeff
>



-- 
Ivan

Mime
View raw message