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

2002-05-18 Thread John D. Stein
in advance!!! John D. Stein // Store a unicode character (u) in the database and see if what you get // back from the database (urc) equals the original string you put in. public void testBinaryUTF8() throws Exception { String u = \u65E5; byte[] ua = u.getBytes(UTF-8

UTF-8 national characters

2002-05-15 Thread John D. Stein
All, I can't seem to find anything about character code sets supported by MySQL. The only thing I found was a note about adding support for sorting on Unicode at http://www.mysql.com/doc/T/O/TODO_MySQL_4.1.html. What character sets does MySQL support? Is Unicode the default for national