Well, if this causes trouble, perhaps we could post the information. It is a bit more work but it would be worth it.
-Matej Johan Compagner wrote: > This is not a thing wicket can do something about. > This is the URI encoding that must be set in the tomcat connector itself: > > URIEncoding="UTF-8" > > > Because it is a http get request the params are encoded differently (a > different property) by tomcat > Why that is i don't know. But you just have to set that. > > johan > > > On 9/25/06, *Ingram Chen* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Ok, wicket-example can reproduce this bug: > > go to: > > > http://www.wicket-library.com/wicket-examples/ajax?wicket:bookmarkablePage=:wicket.examples.ajax.builtin.EditableLabelPage > > <http://www.wicket-library.com/wicket-examples/ajax?wicket:bookmarkablePage=:wicket.examples.ajax.builtin.EditableLabelPage> > > and input to a EditableLabel by several chars: "French êèéæøå" > and output become: > > French êèéæøå > > > > On 9/25/06, *Ingram Chen* < [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Thanks information, I just manually compile and test latest > snapshop. But unfortunately the encoding still not work right... > > I will create a quickstart to reproduce it! > > > On 9/25/06, *Martijn Dashorst* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > http://www.wicket-wiki.org.uk/wiki/index.php/Wicketfromsource > > On 9/25/06, Ingram Chen < [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Ouch! I also has similar problem... except that my > encoding is Big5 > > (tranditional chinese) > > I try to build latest 1.x branch but maven complain: > > > > =============================================== > > Reason: Unable to download the artifact from any repository > > > > wicket:wicket-parent:pom:1.2-SNAPSHOT > > > > from the specified remote repositories: > > central ( http://repo1.maven.org/maven2) > > =============================================== > > > > How do I build latest branch ? or is there any > nightly-snapshop ? > > > > > > On 9/22/06, Johan Compagner < [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > wrote: > > > > > > for this we need to have a sample case. > > > > > > Also i checked in a encoding problem in the 1.2.x branch > (and 2.0 but i > > don't think that one is completely fixed yet...) > > > So if you could build/test it from svn maybe it is fixed > then. > > > > > > johan > > > > > > > > > > > > > > > > > > On 9/22/06, 王磊 < [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > > > Also it brings some trouble,but i can solve the > problem of encoding. > > > > > > > > But i can't know why there is not a event in the > server while i input or > > paste a chinese word in the AutoCompleteTextField. > > > > I am not familiar with javascript. > > > > > > > > Thanks for your advice . > > > > > > > > > > > > > > > > ----- Original Message ----- > > > > From: "Martijn Dashorst" < [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> > > > > To: < wicket-user@lists.sourceforge.net > <mailto:wicket-user@lists.sourceforge.net> > > > > > Sent: Friday, September 22, 2006 3:52 PM > > > > Subject: Re: [Wicket-user] The problem about encoding > and event in ajax > > > > > > > > > > > > > We have had some problems with Ajax and UTF-8 > encoding. You'll have to > > > > > configure the uri encoding on your httpconnector to > use UTF-8. In > > > > > tomcat that would go into your server.xml > > > > > > > > > > Martijn > > > > > > > > > > On 9/22/06, 王磊 < [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > > > >> In fact, i use utf-8 as my coding. > > > > >> The following is the content of the html. > > > > >> > > > > >> > > > > >> <?xml version=" 1.0" encoding="UTF-8"?> > > > > >> <html> > > > > >> <head> > > > > >> <meta http-equiv="Content-Type" content="text/html; > charset=UTF-8"> > > > > >> </head> > > > > >> <body> > > > > >> <form wicket:id="form">Country: <input type="text" > wicket:id="ac" > > size="50" /></form> > > > > >> </body> > > > > >> </html> > > > > >> > > > > >> I also tried many ways > > > > >> 1.keep meta charset or remove it. > > > > >> 2.keep <?xml version="1.0" encoding="UTF-8"?> or > remove it. > > > > >> > > > > >> I can't get the right result. > > > > >> > > > > >> Another problem > > > > >> You can copy a chinese word and paste to the > AutoCompleteTextField, > > no event will fired.You can see it in the server side. > > > > >> > > > > >> > > > > >> ----- Original Message ----- > > > > >> From: "Erik van Oosten" < [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> > > > > >> To: < wicket-user@lists.sourceforge.net > <mailto:wicket-user@lists.sourceforge.net>> > > > > >> Sent: Friday, September 22, 2006 3:03 PM > > > > >> Subject: Re: [Wicket-user] The problem about > encoding and event in > > ajax > > > > >> > > > > >> > > > > >> > Dear ??, > > > > >> > > > > > >> > The problem is because you can not encode Chinese > characters in > > > > >> > ISO-8859-1. You must use UTF-8 throughout your > application. > > > > >> > > > > > >> > > String newInput = new String( > input.getBytes("iso8859-1"), > > "UTF-8"); > > > > >> > first converts the string to ISO8859-1 and > thereby replaces all > > Chinese > > > > >> > characters with a "?". > > > > >> > > > > > >> > Please make sure that the HTML pages that Wicket > renders are in > > UTF-8. > > > > >> > This true by default, but to be sure you could do > > > > >> > > > > > getRequestCycleSettings().setResponseRequestEncoding("UTF-8") > > > > >> > > > > > >> > Then replace the line above with: > > > > >> > String newInput = input; > > > > >> > > > > > >> > Regards, > > > > >> > Erik. > > > > >> > > > > > >> > > > > > >> > 王磊 schreef: > > > > >> >> I just try to write a book about wicket.(It's > written in > > chinese,and > > > > >> >> it's free to get a e-book). > > > > >> >> But while i writing a ajax example,i got a > stange problem. > > > > >> >> > > > > >> >> I writed a auto-complete text application with > > AutoCompleteTextField > > > > >> >> control. > > > > >> >> But i got the following 2 problems. > > > > >> >> > > > > >> >> 1. If i input a chinese word,no request is sent > to the server > > side.(I > > > > >> >> write "println" in server application,no output). > > > > >> >> > > > > >> >> 2. If in input a chinese word,then input a > letter like 'd',the > > server > > > > >> >> side will get a string input like "???d", it's > in wrong code. I > > use > > > > >> >> the following code to get the right input. > > > > >> >> > > > > >> >> String newInput = new > String(input.getBytes("iso8859-1"), > > "UTF-8"); > > > > >> >> > > > > >> >> > > > > >> >> I think these problems are caused by > javascript,because i am not > > > > >> >> familiar with javascript. > > > > >> >> So i can't give reasons. > > > > >> >> May somebody can give a patch. > > > > >> > > > > > >> > -- > > > > >> > Erik van Oosten > > > > >> > http://www.day-to-day-stuff.blogspot.com/ > > > > >> > > > > > >> > > > > > >> > > > > > ------------------------------------------------------------------------- > > > > >> > Take Surveys. Earn Cash. Influence the Future of IT > > > > >> > Join SourceForge.net's Techsay panel and you'll > get the chance to > > share your > > > > >> > opinions on IT & business topics through brief > surveys -- and earn > > cash > > > > >> > > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > > > > >> > _______________________________________________ > > > > >> > Wicket-user mailing list > > > > >> > Wicket-user@lists.sourceforge.net > <mailto:Wicket-user@lists.sourceforge.net> > > > > >> > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > >> > > > > > >> > > > > ------------------------------------------------------------------------- > > > > >> Take Surveys. Earn Cash. Influence the Future of IT > > > > >> Join SourceForge.net's Techsay panel and you'll get > the chance to > > share your > > > > >> opinions on IT & business topics through brief > surveys -- and earn > > cash > > > > >> > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > > > > >> _______________________________________________ > > > > >> Wicket-user mailing list > > > > >> Wicket-user@lists.sourceforge.net > <mailto:Wicket-user@lists.sourceforge.net> > > > > >> > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > >> > > > > > > > > > > > > > > > -- > > > > > Download Wicket 1.2.2 now! New Ajax components: > Tree, TreeTable and > > ModalWindow > > > > > -- http://wicketframework.org > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > > > Take Surveys. Earn Cash. Influence the Future of IT > > > > > Join SourceForge.net's Techsay panel and you'll get > the chance to > > share your > > > > > opinions on IT & business topics through brief > surveys -- and earn > > cash > > > > > > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > > > > > > _______________________________________________ > > > > > Wicket-user mailing list > > > > > Wicket-user@lists.sourceforge.net > <mailto:Wicket-user@lists.sourceforge.net> > > > > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > <https://lists.sourceforge.net/lists/listinfo/wicket-user> > > > > > > > > ------------------------------------------------------------------------- > > > > > Take Surveys. Earn Cash. Influence the Future of IT > > > > Join SourceForge.net's Techsay panel and you'll get > the chance to share > > your > > > > opinions on IT & business topics through brief surveys > -- and earn cash > > > > > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > > > > _______________________________________________ > > > > Wicket-user mailing list > > > > Wicket-user@lists.sourceforge.net > <mailto:Wicket-user@lists.sourceforge.net> > > > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > Take Surveys. Earn Cash. Influence the Future of IT > > > Join SourceForge.net's Techsay panel and you'll get the > chance to share > > your > > > opinions on IT & business topics through brief surveys > -- and earn cash > > > > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > > > > > > _______________________________________________ > > > Wicket-user mailing list > > > Wicket-user@lists.sourceforge.net > <mailto:Wicket-user@lists.sourceforge.net> > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > <https://lists.sourceforge.net/lists/listinfo/wicket-user> > > > > > > > > > > > > > > > > > -- > > Ingram Chen > > Java [EMAIL PROTECTED] > > Institue of BioMedical Sciences Academia Sinica Taiwan > > blog: http://www.javaworld.com.tw/roller/page/ingramchen > <http://www.javaworld.com.tw/roller/page/ingramchen> > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the > chance to share your > > opinions on IT & business topics through brief surveys -- > and earn cash > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > > > > _______________________________________________ > > Wicket-user mailing list > > Wicket-user@lists.sourceforge.net > <mailto:Wicket-user@lists.sourceforge.net> > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > -- > Download Wicket 1.2.2 now! New Ajax components: Tree, > TreeTable and ModalWindow > -- http://wicketframework.org > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the > chance to share your > opinions on IT & business topics through brief surveys -- > and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > <mailto:Wicket-user@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > -- > > Ingram Chen > Java [EMAIL PROTECTED] > Institue of BioMedical Sciences Academia Sinica Taiwan > blog: http://www.javaworld.com.tw/roller/page/ingramchen > > > > > -- > > Ingram Chen > Java [EMAIL PROTECTED] > Institue of BioMedical Sciences Academia Sinica Taiwan > blog: http://www.javaworld.com.tw/roller/page/ingramchen > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > <mailto:Wicket-user@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/wicket-user > <https://lists.sourceforge.net/lists/listinfo/wicket-user> > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > ------------------------------------------------------------------------ > > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user