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 doc
Hi Andre-John,
Andre-John Mas wrote:
I wan't do it within the application. I prefer to configure the app
container or the app itself.
I had asked for this too a while back, but I was told the RFC indicates
ISO-8859-1, so the developers didn't want to allow you to change the
default encoding
Hi Markus,
thanks for your hints.
Markus Meyer wrote:
It all depends on the client. IIRC if you set the charset in the content
type header to utf-8, like this
contentType="text/html; charset=utf-8"
most browsers will then use utf-8 for HTTP GET and POST requests when
responding to the given
Hi Peter,
Peter Crowther wrote:
What are you trying to achieve? If we know more about the problem you're
trying to solve, we may be able to suggest some different approaches.
The client receives an HTML page with contentType="text/html; charset=utf-8"
On that page is a POST form. When I eval
Pid wrote:
How about?
request.setCharacterEncoding("ENCODING");
I wan't do it within the application. I prefer to configure the app container
or the app itself.
Bearing in mind that you're not really changing what the client
requests, or might expect you to be setting...
Is there a poss
Hi,
Calling <%= request.getCharacterEncoding() %> in a jsp deployed in a Tomcat
6.0.20 container returns null.
Is there any possibility to force a default CharacterEncoding for such requests?
Thanks in advance!
Regards,
--
SWITCH
Serving Swiss Universities
-