Re: [Wicket-user] [the output encoding of wicket] i found the bug
then firefox is looking for that met tag? And then sees it as utf even if we send it as iso xxx? Because that is what firefox is send to us. if you remove that meta tag what happens then? what does fire fox say in the page info when it goes wrong?? johan 叶卫国 wrote: Johan Compagner, I test it under IE. when i first enter the page, the encoding is iso-8859-1, but i set the content type in my template: so when i refresh it, the display result is ok. I think maybe the buffered response can not set the response eoncoding to the browser automatically === 2005-05-27 22:53:20 :=== Hi, We (eelco and i) are trying to reproduce/test it. But we can't get it currently to go wrong. Can you test some more for us? for example do you have it under IE and under FireFox? In firefox you can see the in the View->Character Encoding what the encoding he uses for the page Also with Page Info (Context Menu onthe page itself) you can see what firefox sees that page in. Are those values correct? Also if you can change and build wicket jar yourself can you change the WicketServlet and put these 2 lines: System.err.println("request encoding: "+ servletRequest.getCharacterEncoding()); System.err.println("response encoding: "+ servletResponse.getCharacterEncoding()); in the doGet method? So that we can see the char encoding it uses (request encoding is at my place always null) Johan 叶卫国 wrote: When i change default render strategy from default(ApplicationSettings.REDIRECT_TO_BUFFER) to ApplicationSettings.ONE_PASS_RENDER //getSettings().setRenderStrategy(ApplicationSettings.ONE_PASS_RENDER) it seems ok, so can anyone fix this bug? --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user --- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user = = = = = = = = = = = = = = = = = = = = 叶卫国 [EMAIL PROTECTED] 2005-05-29 N?S^甸?X??'???j("{k≯?xj(I娅r藿?リ??([EMAIL PROTECTED]'?*'缠u朕?^?&、?拂??墁vz,? 钝M9Z'$z郜z???X?h??标玷?⺋??(悍~?zw?X?襄?b???'$z郜er==
Re: Re: [Wicket-user] [the output encoding of wicket] i found the bug
Johan Compagner, I test it under IE. when i first enter the page, the encoding is iso-8859-1, but i set the content type in my template: so when i refresh it, the display result is ok. I think maybe the buffered response can not set the response eoncoding to the browser automatically === 2005-05-27 22:53:20 :=== >Hi, > >We (eelco and i) are trying to reproduce/test it. >But we can't get it currently to go wrong. > >Can you test some more for us? > >for example do you have it under IE and under FireFox? > >In firefox you can see the in the View->Character Encoding what the >encoding he uses for the page >Also with Page Info (Context Menu onthe page itself) you can see what >firefox sees that page in. > >Are those values correct? > > >Also if you can change and build wicket jar yourself >can you change the WicketServlet and put these 2 lines: > >System.err.println("request encoding: "+ >servletRequest.getCharacterEncoding()); >System.err.println("response encoding: "+ >servletResponse.getCharacterEncoding()); > >in the doGet method? > >So that we can see the char encoding it uses (request encoding is at my >place always null) > >Johan > > > > > >叶卫国 wrote: > >>When i change default render strategy from >>default(ApplicationSettings.REDIRECT_TO_BUFFER) to >>ApplicationSettings.ONE_PASS_RENDER >> >>//getSettings().setRenderStrategy(ApplicationSettings.ONE_PASS_RENDER) >> >>it seems ok, so can anyone fix this bug? >> >> >> >>--- >>This SF.Net email is sponsored by Oracle Space Sweepstakes >>Want to be the first software developer in space? >>Enter now for the Oracle Space Sweepstakes! >>http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click >>___ >>Wicket-user mailing list >>Wicket-user@lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/wicket-user >> >> >> > > >--- >This SF.Net email is sponsored by Yahoo. >Introducing Yahoo! Search Developer Network - Create apps using Yahoo! >Search APIs Find out how you can build Yahoo! directly into your own >Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 >___ >Wicket-user mailing list >Wicket-user@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/wicket-user = = = = = = = = = = = = = = = = = = = = 叶卫国 [EMAIL PROTECTED] 2005-05-29
Re: [Wicket-user] [the output encoding of wicket] i found the bug
Hi, We (eelco and i) are trying to reproduce/test it. But we can't get it currently to go wrong. Can you test some more for us? for example do you have it under IE and under FireFox? In firefox you can see the in the View->Character Encoding what the encoding he uses for the page Also with Page Info (Context Menu onthe page itself) you can see what firefox sees that page in. Are those values correct? Also if you can change and build wicket jar yourself can you change the WicketServlet and put these 2 lines: System.err.println("request encoding: "+ servletRequest.getCharacterEncoding()); System.err.println("response encoding: "+ servletResponse.getCharacterEncoding()); in the doGet method? So that we can see the char encoding it uses (request encoding is at my place always null) Johan 叶卫国 wrote: >When i change default render strategy from >default(ApplicationSettings.REDIRECT_TO_BUFFER) to >ApplicationSettings.ONE_PASS_RENDER > >//getSettings().setRenderStrategy(ApplicationSettings.ONE_PASS_RENDER) > >it seems ok, so can anyone fix this bug? > > > >--- >This SF.Net email is sponsored by Oracle Space Sweepstakes >Want to be the first software developer in space? >Enter now for the Oracle Space Sweepstakes! >http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click >___ >Wicket-user mailing list >Wicket-user@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/wicket-user > > > --- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: Re: [Wicket-user] [the output encoding of wicket] i found the bug
Johan Compagner :-) It's my mistake. The test result should be: "REDIRECT_TO_BUFFER is wrong, but REDIRECT_TO_RENDER & ONE_PASS_RENDER is right" 2005-05-24 00:06:28 ok you where first saying something else so i was confused:yes, the result of EDIRECT_TO_RENDER is the same as REDIRECT_TO_BUFFERBut you only have a problem when you use to_buffer the other 2 are working fine.I will test this.johan 叶卫国 wrote: Johan Compagner emm, REDIRECT_TO_BUFFER is wrong, but REDIRECT_TO_RENDER & ONE_PASS_RENDER is right 2005-05-23 22:28:34 But i thought you only had it with RC3 and not RC2?Because RC2 the default is REDIRECT_TO_RENDERwe changed it to REDIRECT_TO_BUFFERso it is somehow something else.johan叶卫国 wrote: Johan Compagner, yes, the result of EDIRECT_TO_RENDER is the same as REDIRECT_TO_BUFFER === 2005-05-23 21:54:55 :=== that is puzzling! What happens if you do REDIRECT_TO_RENDER ?? Then also it should go wrong. Because there is not really a difference... Is then the redirect not sending the same encoding it wants then the first time?? johan 叶卫国 wrote: When i change default render strategy from default(ApplicationSettings.REDIRECT_TO_BUFFER) to ApplicationSettings.ONE_PASS_RENDER //getSettings().setRenderStrategy(ApplicationSettings.ONE_PASS_RENDER) it seems ok, so can anyone fix this bug? --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_idt12&alloc_id344&op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user = = = = = = = = = = = = = = = = = = = = 叶卫国 [EMAIL PROTECTED] 2005-05-23 N?S^甸?X??'%y*Zq浒y?旦?Ф?z?~*於???庄zZ)z抚??I?硅龙+???%y*Zq浒y?旦?m,vw(??秀]?Z??8??'$Z'$z郜z???X?h??标玷?⺋??(悍~?zw?X?襄?b???'$z郜er== = = = = = = = = = = = = = = = = = = = = = = 叶卫国 [EMAIL PROTECTED] 2005-05-23 = = = = = = = = = = = = = = = = = = = = = = 叶卫国 [EMAIL PROTECTED] 2005-05-24
Re: [Wicket-user] [the output encoding of wicket] i found the bug
ok you where first saying something else so i was confused: yes, the result of EDIRECT_TO_RENDER is the same as REDIRECT_TO_BUFFER But you only have a problem when you use to_buffer the other 2 are working fine. I will test this. johan 叶卫国 wrote: Johan Compagner emm, REDIRECT_TO_BUFFER is wrong, but REDIRECT_TO_RENDER & ONE_PASS_RENDER is right 2005-05-23 22:28:34 But i thought you only had it with RC3 and not RC2? Because RC2 the default is REDIRECT_TO_RENDER we changed it to REDIRECT_TO_BUFFER so it is somehow something else. johan 叶卫国 wrote: Johan Compagner, yes, the result of EDIRECT_TO_RENDER is the same as REDIRECT_TO_BUFFER === 2005-05-23 21:54:55 :=== that is puzzling! What happens if you do REDIRECT_TO_RENDER ?? Then also it should go wrong. Because there is not really a difference... Is then the redirect not sending the same encoding it wants then the first time?? johan 叶卫国 wrote: When i change default render strategy from default(ApplicationSettings.REDIRECT_TO_BUFFER) to ApplicationSettings.ONE_PASS_RENDER //getSettings().setRenderStrategy(ApplicationSettings.ONE_PASS_RENDER) it seems ok, so can anyone fix this bug? --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_idt12&alloc_id344&op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user = = = = = = = = = = = = = = = = = = = = 叶卫国 [EMAIL PROTECTED] 2005-05-23 N琀S^甸殜X?'矈辵紟%y*Zq浒y阬旦眆Ф?z豝~*於??珁庄zZ)z抚矕渪I韟硅龙+?幁?%y*Zq浒y阬旦?m??趘?,vw(涼潐秀]殩Z壭雫8?'$Z'$z郜z箽奨Xh湋雗标鍔薼矉玵玷?豰稕?⺋?(悍~娻zwX襄娝b濟??'$z郜er== = = = = = = = = = = = = = = = = = = = = = = 叶卫国 [EMAIL PROTECTED] 2005-05-23
Re: Re: [Wicket-user] [the output encoding of wicket] i found the bug
Johan Compagner emm, REDIRECT_TO_BUFFER is wrong, but REDIRECT_TO_RENDER & ONE_PASS_RENDER is right 2005-05-23 22:28:34 But i thought you only had it with RC3 and not RC2?Because RC2 the default is REDIRECT_TO_RENDERwe changed it to REDIRECT_TO_BUFFERso it is somehow something else.johan叶卫国 wrote: Johan Compagner, yes, the result of EDIRECT_TO_RENDER is the same as REDIRECT_TO_BUFFER === 2005-05-23 21:54:55 :=== that is puzzling! What happens if you do REDIRECT_TO_RENDER ?? Then also it should go wrong. Because there is not really a difference... Is then the redirect not sending the same encoding it wants then the first time?? johan 叶卫国 wrote: When i change default render strategy from default(ApplicationSettings.REDIRECT_TO_BUFFER) to ApplicationSettings.ONE_PASS_RENDER //getSettings().setRenderStrategy(ApplicationSettings.ONE_PASS_RENDER) it seems ok, so can anyone fix this bug? --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_idt12&alloc_id344&op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user = = = = = = = = = = = = = = = = = = = = 叶卫国 [EMAIL PROTECTED] 2005-05-23 N?S^甸?X??'%y*Zq浒y?旦?Ф?z?~*於???庄zZ)z抚??I?硅龙+???%y*Zq浒y?旦?m,vw(??秀]?Z??8??'$Z'$z郜z???X?h??标玷?⺋??(悍~?zw?X?襄?b???'$z郜er== = = = = = = = = = = = = = = = = = = = = = = 叶卫国 [EMAIL PROTECTED] 2005-05-23
Re: [Wicket-user] [the output encoding of wicket] i found the bug
But i thought you only had it with RC3 and not RC2? Because RC2 the default is REDIRECT_TO_RENDER we changed it to REDIRECT_TO_BUFFER so it is somehow something else. johan 叶卫国 wrote: Johan Compagner, yes, the result of EDIRECT_TO_RENDER is the same as REDIRECT_TO_BUFFER === 2005-05-23 21:54:55 :=== that is puzzling! What happens if you do REDIRECT_TO_RENDER ?? Then also it should go wrong. Because there is not really a difference... Is then the redirect not sending the same encoding it wants then the first time?? johan 叶卫国 wrote: When i change default render strategy from default(ApplicationSettings.REDIRECT_TO_BUFFER) to ApplicationSettings.ONE_PASS_RENDER //getSettings().setRenderStrategy(ApplicationSettings.ONE_PASS_RENDER) it seems ok, so can anyone fix this bug? --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_idt12&alloc_id344&op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user = = = = = = = = = = = = = = = = = = = = 叶卫国 [EMAIL PROTECTED] 2005-05-23 N?S^甸?X??'%y*Zq浒y?旦?Ф?z?~*於???庄zZ)z抚??I?硅龙+???%y*Zq浒y?旦?m,vw(??秀]?Z??8??'$Z'$z郜z???X?h??标玷?⺋??(悍~?zw?X?襄?b???'$z郜er==
Re: Re: [Wicket-user] [the output encoding of wicket] i found the bug
Johan Compagner, yes, the result of EDIRECT_TO_RENDER is the same as REDIRECT_TO_BUFFER === 2005-05-23 21:54:55 :=== >that is puzzling! > >What happens if you do REDIRECT_TO_RENDER ?? > >Then also it should go wrong. Because there is not really a difference... >Is then the redirect not sending the same encoding it wants then the >first time?? > >johan > > >叶卫国 wrote: > >>When i change default render strategy from >>default(ApplicationSettings.REDIRECT_TO_BUFFER) to >>ApplicationSettings.ONE_PASS_RENDER >> >>//getSettings().setRenderStrategy(ApplicationSettings.ONE_PASS_RENDER) >> >>it seems ok, so can anyone fix this bug? >> >> >> >>--- >>This SF.Net email is sponsored by Oracle Space Sweepstakes >>Want to be the first software developer in space? >>Enter now for the Oracle Space Sweepstakes! >>http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click >>___ >>Wicket-user mailing list >>Wicket-user@lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/wicket-user >> >> >> > > >--- >This SF.Net email is sponsored by Oracle Space Sweepstakes >Want to be the first software developer in space? >Enter now for the Oracle Space Sweepstakes! >http://ads.osdn.com/?ad_idt12&alloc_id344&op=click >___ >Wicket-user mailing list >Wicket-user@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/wicket-user = = = = = = = = = = = = = = = = = = = = 叶卫国 [EMAIL PROTECTED] 2005-05-23
Re: [Wicket-user] [the output encoding of wicket] i found the bug
that is puzzling! What happens if you do REDIRECT_TO_RENDER ?? Then also it should go wrong. Because there is not really a difference... Is then the redirect not sending the same encoding it wants then the first time?? johan 叶卫国 wrote: >When i change default render strategy from >default(ApplicationSettings.REDIRECT_TO_BUFFER) to >ApplicationSettings.ONE_PASS_RENDER > >//getSettings().setRenderStrategy(ApplicationSettings.ONE_PASS_RENDER) > >it seems ok, so can anyone fix this bug? > > > >--- >This SF.Net email is sponsored by Oracle Space Sweepstakes >Want to be the first software developer in space? >Enter now for the Oracle Space Sweepstakes! >http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click >___ >Wicket-user mailing list >Wicket-user@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/wicket-user > > > --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_idt12&alloc_id344&op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] [the output encoding of wicket] i found the bug
Interesting. Sounds like we have to "buffer" the encoding as well in addition to the page content. Juergen On 5/23/05, 叶卫国 <[EMAIL PROTECTED]> wrote: > When i change default render strategy from > default(ApplicationSettings.REDIRECT_TO_BUFFER) to > ApplicationSettings.ONE_PASS_RENDER > > //getSettings().setRenderStrategy(ApplicationSettings.ONE_PASS_RENDER) > > it seems ok, so can anyone fix this bug? > > > > --- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > N?S^甸?X??%y*Zq浒y?旦?Ф?z?~*於???庄zZ)z抚??I?硅龙+???y*Zq浒y?旦?m???vw(??