On 6/17/07, Fan <[EMAIL PROTECTED]> wrote:
After commenting out the gzipFilter in web.xml, the data value in the form can show chinese or japanese. But I realised another problem with the lable or <fmt:message key='facilityList.heading'/>, I have keyed in the chinese characters in ApplicationResources.properties, but the chinese characters does not show properly on the screen.
Why don't you put these values in ApplicationResources_zh_CN.properties instead of ApplicationResources.properties? You should be able to change the default locale in web.xml. Matt
For those users who use ApplicationResources_zh_CN.properties, don't you guys face the same problem ? mraible wrote: > > I commented out the gzipFilter in web.xml and it fixes it. If I look > in WEB-INF/lib, ehcache-1.2.3.jar is in there. Therefore, this issue > is the same as the following one: > > http://issues.appfuse.org/browse/APF-777 > > Here's the workaround: > > http://www.nabble.com/Re%3A-Appfuse-2.0-m5-does-not-support-UTF8---p10900778s2369.html > > Matt > > On 6/1/07, Matt Raible <[EMAIL PROTECTED]> wrote: >> I was able to reproduce this at http://demo.appfuse.org/appfuse-struts >> as well as using a Struts 2 archetype for M5. My environment: Windows >> XP with Cygwin. >> >> Strangely enough, it works when I run "mvn jetty:run-war" from >> trunk/web/struts, but not when I create a new project from an >> archetypes. >> >> I've entered an issue for this at: >> >> http://issues.appfuse.org/browse/APF-791 >> >> Please let us know if you figure out what's causing the problem. >> >> Matt >> >> On 6/1/07, Fan <[EMAIL PROTECTED]> wrote: >> > >> > 1) go to http://demo.appfuse.org >> > >> > 2) log in as admin >> > >> > 3) edit profile >> > >> > 4) copy & paste this 日本語 into the address field and click on save >> button >> > >> > 5) then edit profile again, you will see the 日本語 ,which you pasted just >> now, >> > will become ??? >> > >> > >> > >> > >> > mraible wrote: >> > > >> > > Can you provide the steps for me to produce the problem locally? Of >> > > course, you can do this in a JIRA issue if it makes more sense. >> > > >> > > Thanks, >> > > >> > > Matt >> > > >> > > On 5/31/07, Fan <[EMAIL PROTECTED]> wrote: >> > >> >> > >> I did key in japanese characters in the address field of the demo >> site' >> > >> admin >> > >> profile. It has the same problem too. >> > >> >> > >> I am using same database for different version of Appfuse 2.0-mX, >> but >> > >> just >> > >> the UTF8 character does not work in Appfuse 2.0-m5 >> > >> >> > >> >> > >> >> > >> mraible wrote: >> > >> > >> > >> > There should be nothing different as far as form handling. Have >> you >> > >> > made sure your database supports UTF-8? There may be differences >> when >> > >> > rendering characters - I've seen that caused by different versions >> of >> > >> > the gzipFilter. >> > >> > >> > >> > Does it happen on the demo site too? >> > >> > >> > >> > http://demo.appfuse.org >> > >> > >> > >> > Matt >> > >> > >> > >> > On 5/31/07, Fan <[EMAIL PROTECTED]> wrote: >> > >> >> >> > >> >> I had tried using Appfuse 2.0-mX before Appfuse2.0-m5. The >> previous >> > >> >> version >> > >> >> of appfuse 2.0 seems like no problem with UTF8 character. But >> when I >> > >> use >> > >> >> Appfuse2.0-m5 on the same MySql database as I used for previous >> > >> version, >> > >> >> the >> > >> >> UTF8 character does not show correctly, all showing "????" >> > >> >> >> > >> >> >> > >> >> What missed out in the Appfuse2.0-m5 from the previous version ? >> > >> >> -- >> > >> >> View this message in context: >> > >> >> >> > >> >> http://www.nabble.com/Appfuse-2.0-m5-does-not-support-UTF8---tf3847241s2369.html#a10896381 >> > >> >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> > >> >> >> > >> >> >> --------------------------------------------------------------------- >> > >> >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> > >> >> For additional commands, e-mail: [EMAIL PROTECTED] >> > >> >> >> > >> >> >> > >> > >> > >> > >> > >> > -- >> > >> > http://raibledesigns.com >> > >> > >> > >> > >> --------------------------------------------------------------------- >> > >> > To unsubscribe, e-mail: [EMAIL PROTECTED] >> > >> > For additional commands, e-mail: [EMAIL PROTECTED] >> > >> > >> > >> > >> > >> > >> > >> >> > >> -- >> > >> View this message in context: >> > >> >> http://www.nabble.com/Appfuse-2.0-m5-does-not-support-UTF8---tf3847241s2369.html#a10905003 >> > >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> > >> >> > >> >> --------------------------------------------------------------------- >> > >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> > >> For additional commands, e-mail: [EMAIL PROTECTED] >> > >> >> > >> >> > > >> > > >> > > -- >> > > http://raibledesigns.com >> > > >> > > --------------------------------------------------------------------- >> > > To unsubscribe, e-mail: [EMAIL PROTECTED] >> > > For additional commands, e-mail: [EMAIL PROTECTED] >> > > >> > > >> > > >> > >> > -- >> > View this message in context: >> http://www.nabble.com/Appfuse-2.0-m5-does-not-support-UTF8---tf3847241s2369.html#a10923846 >> > Sent from the AppFuse - User mailing list archive at Nabble.com. >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: [EMAIL PROTECTED] >> > For additional commands, e-mail: [EMAIL PROTECTED] >> > >> > >> >> >> -- >> http://raibledesigns.com >> > > > -- > http://raibledesigns.com > > -- View this message in context: http://www.nabble.com/Appfuse-2.0-m5-does-not-support-UTF8---tf3847241s2369.html#a11161372 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- http://raibledesigns.com
