Re: Chinese can not display correctly

2008-06-25 Thread dhning
Hi,
  You should first utilize native2ascii(in jdk/bin) to convert the 
appname_zh_CN.properties to asc, then it should solve your probelem.
  I don't know why T5 deal with internationalization differently from T4. In 
T4, we developer don't have to convert the resource files, we just need input 
Chinese and it displays correctly.
  
  And if your IDE is eclipse, you can find some plugin to help you convert 
encoding automatically.

Thanks!

DH


- Original Message - 
From: 滕训华 [EMAIL PROTECTED]
To: 'Tapestry users' users@tapestry.apache.org
Sent: Wednesday, June 25, 2008 8:44 AM
Subject: Chinese can not display correctly


I use the ${message:labelKey} in the tml and define the labelKey in the
 properties with Chinese characters,but when the page display ,the Chinese
 can not display correctly. 
 
 
 
 By the way,my properties file is define with UTF-8
 


答复: Chinese can not display correctly

2008-06-25 Thread 滕训华
Yes,chinese display correctly after compile by native tool,thanks very much

-邮件原件-
发件人: dhning [mailto:[EMAIL PROTECTED] 
发送时间: 2008年6月25日 14:38
收件人: Tapestry users
主题: Re: Chinese can not display correctly

Hi,
  You should first utilize native2ascii(in jdk/bin) to convert the
appname_zh_CN.properties to asc, then it should solve your probelem.
  I don't know why T5 deal with internationalization differently from T4. In
T4, we developer don't have to convert the resource files, we just need
input Chinese and it displays correctly.
  
  And if your IDE is eclipse, you can find some plugin to help you convert
encoding automatically.

Thanks!

DH


- Original Message - 
From: 滕训华 [EMAIL PROTECTED]
To: 'Tapestry users' users@tapestry.apache.org
Sent: Wednesday, June 25, 2008 8:44 AM
Subject: Chinese can not display correctly


I use the ${message:labelKey} in the tml and define the labelKey in the
 properties with Chinese characters,but when the page display ,the Chinese
 can not display correctly. 
 
 
 
 By the way,my properties file is define with UTF-8
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: 答复: Chinese can not display correctly

2008-06-25 Thread Korben Zhang
Is there any ways  doesn't need native2ascii?

2008/6/25 滕训华 [EMAIL PROTECTED]:

 Yes,chinese display correctly after compile by native tool,thanks very much

 -邮件原件-
 发件人: dhning [mailto:[EMAIL PROTECTED]
 发送时间: 2008年6月25日 14:38
 收件人: Tapestry users
 主题: Re: Chinese can not display correctly

 Hi,
  You should first utilize native2ascii(in jdk/bin) to convert the
 appname_zh_CN.properties to asc, then it should solve your probelem.
  I don't know why T5 deal with internationalization differently from T4. In
 T4, we developer don't have to convert the resource files, we just need
 input Chinese and it displays correctly.

  And if your IDE is eclipse, you can find some plugin to help you convert
 encoding automatically.

 Thanks!

 DH


 - Original Message -
 From: 滕训华 [EMAIL PROTECTED]
 To: 'Tapestry users' users@tapestry.apache.org
 Sent: Wednesday, June 25, 2008 8:44 AM
 Subject: Chinese can not display correctly


 I use the ${message:labelKey} in the tml and define the labelKey in the
  properties with Chinese characters,but when the page display ,the Chinese
  can not display correctly.
 
 
 
  By the way,my properties file is define with UTF-8
 
 


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-- 
Korben Zhang
Blog: http://korben-zhang.blogspot.com | http://korbenzh.spaces.live.com


Chinese can not display correctly

2008-06-24 Thread 滕训华
I use the ${message:labelKey} in the tml and define the labelKey in the
properties with Chinese characters,but when the page display ,the Chinese
can not display correctly. 

 

By the way,my properties file is define with UTF-8