Non-European Display on JSP

With my browser set up for a non-European language, all the characters from the message property file are shown as the question mark on JSP. They are displayed as what they shall be after I insert the following line:

<%@ page contentType="text/html; charset=utf-8"%>

I have a look at some other i18n JSP application samples. The above line doesn't seem to be a requirement. Anything I don't get it right?

[431 byte] By [vwuvancouvera] at [2007-10-1 14:26:50]
# 1

Sorry. Miss the more on the other headings of JSP file:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<link rel="stylesheet" type="text/css" href="css/layout.css" />

<title><tiles:getAsString name="title"/></title>

</head>

. . .

vwuvancouvera at 2007-7-10 18:01:24 > top of Java-index,Desktop,I18N...
# 2

My guess: UTF-8 can represent any character in Unicode. But if you don't specify UTF-8 (the way you did, or some other way) then your server will probably use the default encoding for the server. Changing browser settings would have no effect on that. If you're in Vancouver then that default encoding is probably ISO-8859-1, which is useless for languages that don't use the Latin alphabet.

DrClapa at 2007-7-10 18:01:24 > top of Java-index,Desktop,I18N...