Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: More Q lists

Character Encoding Issues

Questions

  1. Wiki Markup
    \[#Q1 What is the default character encoding?\]
  2. Wiki Markup
    \[#Q2 How do I change how GET parameters are interpreted?\]
  3. Wiki Markup
    \[#Q3 How do I change how POST parameters are interpreted?\]
  4. Wiki Markup
    \[#Q4 How can I test if my configuration will work correctly?\]
  5. Wiki Markup
    \[#Q5 I'm having a problem with character encoding in Tomcat 5\]
    \\

Answers

What is the default character encoding?

If a character encoding is not specified, the Servlet specification requires that an encoding of ISO 8859-1 is used.

...

I'm having a problem with character encoding in tomcat Tomcat 5

In Tomcat 5 - there have been issues reported with respect to character encoding (usually of the the form "request.setCharacterEncoding(String) doesn't work"). Odds are, its not a bug. Before filing a bug report, see these bug reports as well as any bug reports linked to these bug reports:

...