Hi everybody,
I've got a request from my client to force an encoding in the
browser, regardless what user have set.

When I set encoding inside my filter to Windows-1257 in the HTML
source code I see only ?s:??? ????? ???.

Is there any easy way to enforce browser to set proper encoding?

May be I need to setContent type after I obtain a writer in the
Note, all outputs are generated by servlets:

public void doPost( HttpServletRequest req, HttpServletResponse resp
      throws IOException, ServletException
  // do something

In MyFilter.doFilter() I do following:

I use 5.0.28 with Redhat 9.
Any input is welcome.


Yahoo! Mail - PC Magazine Editors' Choice 2005 

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to