I use MySQL5.1 with UTF8-encoded for the field customer_name. However, on the JSP-page, which is UTF-8 (in all ways, meta-tags etc), it appears wrong.
In the database I see: "Alѐ"
but on the JSP it renders as: "AlÑ "
which is the same when I query:
select binary(name) from customer where customerID=X;
"AlÑ"
Obviously the last char from this query cannot be displayed on the JSP. I cannot determine where this goes wrong. From the resulting RowSet from the query I retrieve the Java-string with plain rs.getString("name"). I've tried setting MySQL variable character_set_connection to utf8 (was latin1), but makes no difference. It must be something really trivial though.