Re: [Wicket-user] Re: Re: Re: Re: [bug report] character encoding goes wrong when a form is submited!

2005-04-27 Thread Eelco Hillenius
Strange, it works for me too (I added your name as a cd)... What browser
do you use? And do you see your name (叶卫国, right?) in the list of
cd's (that cd has value '1' in the 'year' field)?

Eelco


叶卫国 wrote:

>So many thanks. I add an cd entry at contrib-example 
>http://www.wicket-library.com/wicket-contrib-examples. (the entry id is 19)
>
>But it is a pity that it's still abnormal. :-(
>
>
>
>
>---
>SF.Net email is sponsored by: Tell us your software development plans!
>Take this survey and enter to win a one-year sub to SourceForge.net
>Plus IDC's 2005 look-ahead and a copy of this survey
>Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
>___
>Wicket-user mailing list
>Wicket-user@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/wicket-user
>  
>



---
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


RE: [Wicket-user] Re: Re: Re: Re: [bug report] character encoding goes wrong when a form is submited!

2005-04-27 Thread Christopher Turner
Title: RE: [Wicket-user] Re: Re: Re: Re: [bug report] character encoding goes wrong when a form is submited!





Could this be related to character encodings and code pages set up for the application / app server? (just a guess)


If the browsers we are testing with are using the same character encoding as the receiving application then it should work fine. If the character encodings are different then we may not be forcing the correct encoding to occur. 

To test, try changing the character encoding of your browser (Tools -> Options -> General -> Languages on Firefox) and then try and submit the same data.


> 
> 
> Strange, it works for me too (I added your name as a cd)... 
> What browser do you use? And do you see your name (叶卫国, 
> right?) in the list of cd's (that cd has value '1' in the 
> 'year' field)?
> 
> Eelco
> 
> 
> 叶卫国 wrote:
> 
> >So many thanks. I add an cd entry at contrib-example 
> >http://www.wicket-library.com/wicket-contrib-examples. (the 
> entry id is 
> >19)
> >
> >But it is a pity that it's still abnormal. :-(
> >
> >
> >
> >
> >---
> >SF.Net email is sponsored by: Tell us your software 
> development plans! 
> >Take this survey and enter to win a one-year sub to SourceForge.net 
> >Plus IDC's 2005 look-ahead and a copy of this survey Click here to 
> >start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
> >___
> >Wicket-user mailing list
> >Wicket-user@lists.sourceforge.net
> >https://lists.sourceforge.net/lists/listinfo/wicket-user
> >  
> >
> 
> 
> 
> ---
> SF.Net email is sponsored by: Tell us your software 
> development plans! Take this survey and enter to win a 
> one-year sub to SourceForge.net Plus IDC's 2005 look-ahead 
> and a copy of this survey Click here to start!  
> http://www.idcswdc.com/cgi-bin/survey?id=105hix
> 
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/wicket-> user
> 





Re: [Wicket-user] Re: Re: Re: Re: [bug report] character encoding goes wrong when a form is submited!

2005-04-27 Thread Juergen Donnerstag
I've tested it with IE (_de locale only) and firefox (_de_DE, _de,
_en, en_US) and both work fine. Please correct me if I'm wrong but
these are preferences only. They are conveyed from the browser to the
server as part of the http header with an additional weight/priority.
How does that change the character encoding?

But IE and FF both allow to pre-select an encoding by view ->
encodings -> ... I might be wrong but my settings seem to take the
encoding to be used from the http header of the response we are
providing, ignoring the value I preset. But I can change it that way
once the page has been loaded. E.g. changing to Big5 the last entry
suddenly looks like chinese as well. Reloading the page however
changes back to the orginial encoding.

Juergen

On 4/27/05, Christopher Turner <[EMAIL PROTECTED]> wrote:
> 
> 
> Could this be related to character encodings and code pages set up for the
> application / app server? (just a guess) 
> 
> If the browsers we are testing with are using the same character encoding as
> the receiving application then it should work fine. If the character
> encodings are different then we may not be forcing the correct encoding to
> occur. 
> 
> To test, try changing the character encoding of your browser (Tools ->
> Options -> General -> Languages on Firefox) and then try and submit the same
> data.
> 
> 
> 
> > 
> > 
> > Strange, it works for me too (I added your name as a cd)... 
> > What browser do you use? And do you see your name (叶卫国, 
> > right?) in the list of cd's (that cd has value '1' in the 
> > 'year' field)? 
> > 
> > Eelco 
> > 
> > 
> > 叶卫国 wrote: 
> > 
> > >So many thanks. I add an cd entry at contrib-example 
> > >http://www.wicket-library.com/wicket-contrib-examples.
> (the 
> > entry id is 
> > >19) 
> > > 
> > >But it is a pity that it's still abnormal. :-( 
> > > 
> > > 
> > > 
> > > 
> > >--- 
> > >SF.Net email is sponsored by: Tell us your software 
> > development plans! 
> > >Take this survey and enter to win a one-year sub to SourceForge.net 
> > >Plus IDC's 2005 look-ahead and a copy of this survey Click here to 
> > >start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix 
> > >___ 
> > >Wicket-user mailing list 
> > >Wicket-user@lists.sourceforge.net 
> > >https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >  
> > > 
> > 
> > 
> > 
> > --- 
> > SF.Net email is sponsored by: Tell us your software 
> > development plans! Take this survey and enter to win a 
> > one-year sub to SourceForge.net Plus IDC's 2005 look-ahead 
> > and a copy of this survey Click here to start!  
> > http://www.idcswdc.com/cgi-bin/survey?id=105hix 
> > 
> > ___ 
> > Wicket-user mailing list 
> > Wicket-user@lists.sourceforge.net 
> > https://lists.sourceforge.net/lists/listinfo/wicket->
> user 
> >
HS^甸?X?zYn?.???庄zZ)?恙VП6??菜???У觏???涉?骓?.O?
+6?e???wZr?←a?.??X???氮???0?\?\r?r?旌晦?

RE: [Wicket-user] Re: Re: Re: Re: [bug report] character encoding goes wrong when a form is submited!

2005-04-27 Thread Christopher Turner
Title: RE: [Wicket-user] Re: Re: Re: Re: [bug report] character encoding goes wrong when a form is submited!





Hi Juergen,
I'm not talking about the locale values. I'm talking about the character encoding (e.g. ISO-8859-1, GBK, UTF-8 and so on). Say for example you are working on a Windows machine using the GBK encoding. Submitting the form will send multi-byte characters using this encoding value. What we need to make sure is that this encoding is mapped to the same encoding being expected by the Web Application. 

Hence, if the browser uses the same encoding as the web application then it should be fine. If they are different then you may get issues. As a general rule if the user submits a double byte (or more) character and the web application ends up seeing is as two (or more) single byte characters then something has gone wrong with the character encodings.

Regards,
Chris


> 
> I've tested it with IE (_de locale only) and firefox (_de_DE, 
> _de, _en, en_US) and both work fine. Please correct me if I'm 
> wrong but these are preferences only. They are conveyed from 
> the browser to the server as part of the http header with an 
> additional weight/priority. How does that change the 
> character encoding?
> 
> But IE and FF both allow to pre-select an encoding by view -> 
> encodings -> ... I might be wrong but my settings seem to 
> take the encoding to be used from the http header of the 
> response we are providing, ignoring the value I preset. But I 
> can change it that way once the page has been loaded. E.g. 
> changing to Big5 the last entry suddenly looks like chinese 
> as well. Reloading the page however changes back to the 
> orginial encoding.
> 
> Juergen
> 
> On 4/27/05, Christopher Turner <[EMAIL PROTECTED]> wrote:
> > 
> > 
> > Could this be related to character encodings and code pages 
> set up for 
> > the application / app server? (just a guess)
> > 
> > If the browsers we are testing with are using the same character 
> > encoding as the receiving application then it should work 
> fine. If the 
> > character encodings are different then we may not be forcing the 
> > correct encoding to occur.
> > 
> > To test, try changing the character encoding of your 
> browser (Tools -> 
> > Options -> General -> Languages on Firefox) and then try and submit 
> > the same data.
> > 
> > 
> > 
> > > 
> > > 
> > > Strange, it works for me too (I added your name as a cd)...
> > > What browser do you use? And do you see your name (ååå, 
> > > right?) in the list of cd's (that cd has value '1' in the 
> > > 'year' field)? 
> > > 
> > > Eelco
> > > 
> > > 
> > > ååå wrote:
> > > 
> > > >So many thanks. I add an cd entry at contrib-example
> > > >http://www.wicket-library.com/wicket-contrib-examples.
> > (the
> > > entry id is
> > > >19)
> > > > 
> > > >But it is a pity that it's still abnormal. :-(
> > > > 
> > > > 
> > > > 
> > > > 
> > > >---
> > > >SF.Net email is sponsored by: Tell us your software 
> > > development plans!
> > > >Take this survey and enter to win a one-year sub to 
> SourceForge.net
> > > >Plus IDC's 2005 look-ahead and a copy of this survey 
> Click here to 
> > > >start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix 
> > > >___ 
> > > >Wicket-user mailing list 
> > > >Wicket-user@lists.sourceforge.net 
> > > >https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > >  
> > > > 
> > > 
> > > 
> > > 
> > > ---
> > > SF.Net email is sponsored by: Tell us your software 
> > > development plans! Take this survey and enter to win a 
> > > one-year sub to SourceForge.net Plus IDC's 2005 look-ahead 
> > > and a copy of this survey Click here to start!  
> > > http://www.idcswdc.com/cgi-bin/survey?id=105hix 
> > > 
> > > ___
> > > Wicket-user mailing list 
> > > Wicket-user@lists.sourceforge.net 
> > > https://lists.sourceforge.net/lists/listinfo/wicket->
> > user
> > >
> HS^çæXî?çèçzYn?.î?çåzZ)ææVÐ6ïèèîéæÐè?ïåæîé?.îå?æOæ> +6èeïåæwZråâaå.îÂ
> Xæç?æéèï??\?\råræææ?è?ïGîèæïx%åVååçî?æ~åzwçè?éèççç?ïåålïî)æ?rGîè
> 





Re: Re: [Wicket-user] Re: Re: Re: Re: [bug report] character encoding goes wrong when a form is submited!

2005-04-27 Thread 叶卫国
My god! I test the cdapp example with chinese simplified version firefox, the 
problem exits all the same,

but when i uninstall the zh_CN version, and install en_US version firefox, it's 
ok!!!






=== 2005-04-27 18:19:14 您在来信中写道:===

>I've tested it with IE (_de locale only) and firefox (_de_DE, _de,
>_en, en_US) and both work fine. Please correct me if I'm wrong but
>these are preferences only. They are conveyed from the browser to the
>server as part of the http header with an additional weight/priority.
>How does that change the character encoding?
>
>But IE and FF both allow to pre-select an encoding by view ->
>encodings -> ... I might be wrong but my settings seem to take the
>encoding to be used from the http header of the response we are
>providing, ignoring the value I preset. But I can change it that way
>once the page has been loaded. E.g. changing to Big5 the last entry
>suddenly looks like chinese as well. Reloading the page however
>changes back to the orginial encoding.
>
>Juergen
>
>On 4/27/05, Christopher Turner <[EMAIL PROTECTED]> wrote:
>> 
>> 
>> Could this be related to character encodings and code pages set up for the
>> application / app server? (just a guess) 
>> 
>> If the browsers we are testing with are using the same character encoding as
>> the receiving application then it should work fine. If the character
>> encodings are different then we may not be forcing the correct encoding to
>> occur. 
>> 
>> To test, try changing the character encoding of your browser (Tools ->
>> Options -> General -> Languages on Firefox) and then try and submit the same
>> data.
>> 
>> 
>> 
>> > 
>> > 
>> > Strange, it works for me too (I added your name as a cd)... 
>> > What browser do you use? And do you see your name (叶卫国, 
>> > right?) in the list of cd's (that cd has value '1' in the 
>> > 'year' field)? 
>> > 
>> > Eelco 
>> > 
>> > 
>> > 叶卫国 wrote: 
>> > 
>> > >So many thanks. I add an cd entry at contrib-example 
>> > >http://www.wicket-library.com/wicket-contrib-examples.
>> (the 
>> > entry id is 
>> > >19) 
>> > > 
>> > >But it is a pity that it's still abnormal. :-( 
>> > > 
>> > > 
>> > > 
>> > > 
>> > >--- 
>> > >SF.Net email is sponsored by: Tell us your software 
>> > development plans! 
>> > >Take this survey and enter to win a one-year sub to SourceForge.net 
>> > >Plus IDC's 2005 look-ahead and a copy of this survey Click here to 
>> > >start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix 
>> > >___ 
>> > >Wicket-user mailing list 
>> > >Wicket-user@lists.sourceforge.net 
>> > >https://lists.sourceforge.net/lists/listinfo/wicket-user
>> > >  
>> > > 
>> > 
>> > 
>> > 
>> > --- 
>> > SF.Net email is sponsored by: Tell us your software 
>> > development plans! Take this survey and enter to win a 
>> > one-year sub to SourceForge.net Plus IDC's 2005 look-ahead 
>> > and a copy of this survey Click here to start!  
>> > http://www.idcswdc.com/cgi-bin/survey?id=105hix 
>> > 
>> > ___ 
>> > Wicket-user mailing list 
>> > Wicket-user@lists.sourceforge.net 
>> > https://lists.sourceforge.net/lists/listinfo/wicket->
>> user 
>> >
>??甸?X?M?禾ê?~??^介h?Ф???G?+,夯奚┹z{^?0??矧y?够hJ?q?
>/燠M9?$?^i支u????觑{ ??z翻⑺Z?岫??螟??s?? 
>猖'?a?呵?ē?%?V?符?垮?l?.-雏(悍~?{?幅b槽??-????呵?

= = = = = = = = = = = = = = = = = = = =


致
礼!
 
 
叶卫国
[EMAIL PROTECTED]
  2005-04-27



Re: Re: [Wicket-user] Re: Re: Re: Re: [bug report] character encoding goes wrong when a form is submited!

2005-04-27 Thread 叶卫国
My god! I test the cdapp example with chinese simplified version firefox, the 
problem exits all the same,

but when i uninstall the zh_CN version, and install en_US version firefox, it's 
ok!!!

ps: When i use Tapestry, there is no problem.






=== 2005-04-27 18:19:14 您在来信中写道:===

>I've tested it with IE (_de locale only) and firefox (_de_DE, _de,
>_en, en_US) and both work fine. Please correct me if I'm wrong but
>these are preferences only. They are conveyed from the browser to the
>server as part of the http header with an additional weight/priority.
>How does that change the character encoding?
>
>But IE and FF both allow to pre-select an encoding by view ->
>encodings -> ... I might be wrong but my settings seem to take the
>encoding to be used from the http header of the response we are
>providing, ignoring the value I preset. But I can change it that way
>once the page has been loaded. E.g. changing to Big5 the last entry
>suddenly looks like chinese as well. Reloading the page however
>changes back to the orginial encoding.
>
>Juergen
>
>On 4/27/05, Christopher Turner <[EMAIL PROTECTED]> wrote:
>> 
>> 
>> Could this be related to character encodings and code pages set up for the
>> application / app server? (just a guess) 
>> 
>> If the browsers we are testing with are using the same character encoding as
>> the receiving application then it should work fine. If the character
>> encodings are different then we may not be forcing the correct encoding to
>> occur. 
>> 
>> To test, try changing the character encoding of your browser (Tools ->
>> Options -> General -> Languages on Firefox) and then try and submit the same
>> data.
>> 
>> 
>> 
>> > 
>> > 
>> > Strange, it works for me too (I added your name as a cd)... 
>> > What browser do you use? And do you see your name (叶卫国, 
>> > right?) in the list of cd's (that cd has value '1' in the 
>> > 'year' field)? 
>> > 
>> > Eelco 
>> > 
>> > 
>> > 叶卫国 wrote: 
>> > 
>> > >So many thanks. I add an cd entry at contrib-example 
>> > >http://www.wicket-library.com/wicket-contrib-examples.
>> (the 
>> > entry id is 
>> > >19) 
>> > > 
>> > >But it is a pity that it's still abnormal. :-( 
>> > > 
>> > > 
>> > > 
>> > > 
>> > >--- 
>> > >SF.Net email is sponsored by: Tell us your software 
>> > development plans! 
>> > >Take this survey and enter to win a one-year sub to SourceForge.net 
>> > >Plus IDC's 2005 look-ahead and a copy of this survey Click here to 
>> > >start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix 
>> > >___ 
>> > >Wicket-user mailing list 
>> > >Wicket-user@lists.sourceforge.net 
>> > >https://lists.sourceforge.net/lists/listinfo/wicket-user
>> > >  
>> > > 
>> > 
>> > 
>> > 
>> > --- 
>> > SF.Net email is sponsored by: Tell us your software 
>> > development plans! Take this survey and enter to win a 
>> > one-year sub to SourceForge.net Plus IDC's 2005 look-ahead 
>> > and a copy of this survey Click here to start!  
>> > http://www.idcswdc.com/cgi-bin/survey?id=105hix 
>> > 
>> > ___ 
>> > Wicket-user mailing list 
>> > Wicket-user@lists.sourceforge.net 
>> > https://lists.sourceforge.net/lists/listinfo/wicket->
>> user 
>> >
>??甸?X?M?禾ê?~??^介h?Ф???G?+,夯奚┹z{^?0??矧y?够hJ?q?
>/燠M9?$?^i支u????觑{ ??z翻⑺Z?岫??螟??s?? 
>猖'?a?呵?ē?%?V?符?垮?l?.-雏(悍~?{?幅b槽??-????呵?

= = = = = = = = = = = = = = = = = = = =


致
礼!
 
 
叶卫国
[EMAIL PROTECTED]
  2005-04-27

HS^甸?X?zYn?.???庄zZ)?恙VП6??菜???У觏???涉?骓?.O?
+6?e???wZr?←a?.??X???氮???0?\?\r?r?旌晦?

Re: Re: [Wicket-user] Re: Re: Re: Re: [bug report] character encoding goes wrong when a form is submited!

2005-04-27 Thread 叶卫国
My god! I test the cdapp example with chinese simplified version firefox, the 
problem exits all the same,

but when i uninstall the zh_CN version, and install en_US version firefox, it's 
ok!!!






=== 2005-04-27 18:19:14 您在来信中写道:===

>I've tested it with IE (_de locale only) and firefox (_de_DE, _de,
>_en, en_US) and both work fine. Please correct me if I'm wrong but
>these are preferences only. They are conveyed from the browser to the
>server as part of the http header with an additional weight/priority.
>How does that change the character encoding?
>
>But IE and FF both allow to pre-select an encoding by view ->
>encodings -> ... I might be wrong but my settings seem to take the
>encoding to be used from the http header of the response we are
>providing, ignoring the value I preset. But I can change it that way
>once the page has been loaded. E.g. changing to Big5 the last entry
>suddenly looks like chinese as well. Reloading the page however
>changes back to the orginial encoding.
>
>Juergen
>
>On 4/27/05, Christopher Turner <[EMAIL PROTECTED]> wrote:
>> 
>> 
>> Could this be related to character encodings and code pages set up for the
>> application / app server? (just a guess) 
>> 
>> If the browsers we are testing with are using the same character encoding as
>> the receiving application then it should work fine. If the character
>> encodings are different then we may not be forcing the correct encoding to
>> occur. 
>> 
>> To test, try changing the character encoding of your browser (Tools ->
>> Options -> General -> Languages on Firefox) and then try and submit the same
>> data.
>> 
>> 
>> 
>> > 
>> > 
>> > Strange, it works for me too (I added your name as a cd)... 
>> > What browser do you use? And do you see your name (叶卫国, 
>> > right?) in the list of cd's (that cd has value '1' in the 
>> > 'year' field)? 
>> > 
>> > Eelco 
>> > 
>> > 
>> > 叶卫国 wrote: 
>> > 
>> > >So many thanks. I add an cd entry at contrib-example 
>> > >http://www.wicket-library.com/wicket-contrib-examples.
>> (the 
>> > entry id is 
>> > >19) 
>> > > 
>> > >But it is a pity that it's still abnormal. :-( 
>> > > 
>> > > 
>> > > 
>> > > 
>> > >--- 
>> > >SF.Net email is sponsored by: Tell us your software 
>> > development plans! 
>> > >Take this survey and enter to win a one-year sub to SourceForge.net 
>> > >Plus IDC's 2005 look-ahead and a copy of this survey Click here to 
>> > >start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix 
>> > >___ 
>> > >Wicket-user mailing list 
>> > >Wicket-user@lists.sourceforge.net 
>> > >https://lists.sourceforge.net/lists/listinfo/wicket-user
>> > >  
>> > > 
>> > 
>> > 
>> > 
>> > --- 
>> > SF.Net email is sponsored by: Tell us your software 
>> > development plans! Take this survey and enter to win a 
>> > one-year sub to SourceForge.net Plus IDC's 2005 look-ahead 
>> > and a copy of this survey Click here to start!  
>> > http://www.idcswdc.com/cgi-bin/survey?id=105hix 
>> > 
>> > ___ 
>> > Wicket-user mailing list 
>> > Wicket-user@lists.sourceforge.net 
>> > https://lists.sourceforge.net/lists/listinfo/wicket->
>> user 
>> >
>??甸?X?M?禾ê?~??^介h?Ф???G?+,夯奚┹z{^?0??矧y?够hJ?q?
>/燠M9?$?^i支u????觑{ ??z翻⑺Z?岫??螟??s?? 
>猖'?a?呵?ē?%?V?符?垮?l?.-雏(悍~?{?幅b槽??-????呵?

= = = = = = = = = = = = = = = = = = = =


致
礼!
 
 
叶卫国
[EMAIL PROTECTED]
  2005-04-27