Getting background information on i18n/DBCS
To understand how Java™ supports different languages, see the Java
Internationalization description.
Troubleshooting these problems can be focused into two broad areas,
Character Output and Character Input:
- Character Output problems are associated with JavaServer
Pages (JSP) that cannot display characters that are either hard coded into
the body of a JSP or HTML page, or are pulled from some datasource. An
example: The Euro symbol doesn't show up in a JSP on Solaris, or Korean
characters show as question marks. These problems are handled initially by
creating a simple testcase.
- Character Input issues are almost always more complex and
challenging to solve than Output problems. This type of problem can
involve POST values/Request headers, JDBC drivers as well as Database
settings and configuration. Test cases are of little to no use since the
problem is a complex interaction within the specific environment. For this
class of problems, a servlet engine trace and reproduction of the problem
is often the best (and only) place to start problem determination.
One type of problem can often be mistaken as a character output problem.
When a JSP cannot display characters taken from a database. A testcase
will often be inconclusive. This can indicate that the problem is with the
data stored in the database. This can be confirmed by checking the data
directly.
|