Re: Storing UTF-8 text with MM.MySQL 2.0.13 driver.

2002-05-20 Thread Ronald Muller
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

Re: Storing UTF-8 text with MM.MySQL 2.0.13 driver.

2002-05-18 Thread Mark Matthews
; <[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.

Storing UTF-8 text with MM.MySQL 2.0.13 driver.

2002-05-18 Thread John D. Stein
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