Forms on an iso-8859-15 page

Plain Form

<<some text to submit; <<output encoding   

Form with UTF-8 accept-charset

<<some text to submit; <<output encoding;   

Plain Form --> UTF8 servlet

<<some text to submit; <<output encoding   

Form with UTF-8 accept-charset --> UTF8 servlet

<<some text to submit; <<output encoding;   

It seems that the bottom form is correct (it displays the correct result when tried in Opera, Firefox, Safari and IE 6). But there have been reports of older browsers that still choke on this.



The only way to do it right in all cases is to show this actual page in the same encoding as the form submission. In this case, UTF-8.