Can not insert into MySQL

MySQL variables:

character_set_clientutf8

character_set_connection utf8

character_set_databaseutf8

character_set_results utf8

character_set_server utf8

character_set_system utf8

Database connection:

conn = DriverManager.getConnection("jdbc:mysql://" + dbHost +"/" + dbDatabase +

"?user=" + dbUser +"&password=" + dbPasswd +

"&useUnicode=true&characterEncoding=utf-8");

Row insertion:

stm = conn.prepareStatement("INSERT INTO genres (genre) VALUES (?)");

stm.clearParameters();

stm.setString(1, newGenre);

stm.executeUpdate();

stm.close();

This code running on Sun Java Application Server in managed bean. The data is not inserted and this line is written to MySQL log:

2 Prepare[2]

There is no error or exception. When I setcharacterEncoding=koi8-r option while connecting then row is inserted. But in both caces I have unreadable characters when printing data to JSP (through JavaServer Faces). What must I do to insert data (and print properly)?

[1240 byte] By [ddoa] at [2007-11-26 20:36:29]
# 1
I compiled MySQL from source with options:--with-charset=utf8 --with-extra-charsets=koi8r,cp1251In Slackware 11.0 MySQL compiled without charset options - that's why it didn't work.
ddoa at 2007-7-10 1:29:55 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...