Christopher Schultz wrote:

On that page is a POST form. When I evaluate the posted data, they are NOT
utf-8 encoded.

/Most/ clients will act the way you expect, yet, there is no requirement
for them to do so. What client is this, by the way?

Firefox 3.5.3, IE7, Safari 4.0.3

See the W3C document for the <form> element, specifically the
"accept-charset" attribute:
http://www.w3.org/TR/html401/interact/forms.html#adef-accept-charset

Read the part about "UNKNOWN" and how clients MAY interpret this as "use
the current page encoding". This is "RFC 'MAY'" which basically means
it's a recommendation, but not at all required.

If you configure your form like this, the client is essentially required
to use your specified encoding if it expects the server to behave correctly:

<form action="..." method="POST" accept-charset="UTF-8">
...
</form>

Give that a try and see what happens.

Does neither work. But thanks.

-Halm

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to