This code works fine, which shows you can use the useUnicode and
characterEncoding properties with simple Statement's:
Properties prop = new Properties();
Class.forName("org.gjt.mm.mysql.Driver");
// true as String and not: Boolean.valueOf(true)!
prop.put("useUnicode", "true");
prop.put("char
; <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, May 18, 2002 10:43 AM
Subject: Storing UTF-8 text with MM.MySQL 2.0.13 driver.
> I am trying to store UTF-8 encoded text with MM.MySQL 2.0.13 driver. I am
> using MySQL 3.23.49, MM.MySQL 2.0.13 JDBC driver, j2sdk1.4.0.
I am trying to store UTF-8 encoded text with MM.MySQL 2.0.13 driver. I am
using MySQL 3.23.49, MM.MySQL 2.0.13 JDBC driver, j2sdk1.4.0.
I have had success with the code below (which stores the UTF-8 as a binary
stream), but am wondering if there is an easier way. Specifically I am
wondering