Hi,Dave

I'm using a Maven plug-ins that at compile time will be automatically
native2ascii

I have just finally solve this problem, some jsp page I forgot to add the
following command
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

Together with this command,everyhing is fine.
This is my carelessness.

Thank you

Gordian


On Sat, Apr 11, 2009 at 7:33 AM, Dave Newton <newton.d...@yahoo.com> wrote:

> Gordian Yuan wrote:
>
>> and i have two properties
>>
>> #en_US properties
>> createCampaign.name=Name
>> createCampaign.submit=Create
>>
>> #zh_CN properties
>> createCampaign.name=名称
>> createCampaign.submit=创建
>>
>
> You can't just put Chinese text in a properties file, you have to use
> something like native2ascii to convert it into something Java can
> understand. Searching the web for java properties will provide resources, or
> just read the Java docs:
>
> http://java.sun.com/javase/6/docs/api/java/util/Properties.html
>
> Dave
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>

Reply via email to