When Grails 1.0.4 together with a MySQL charset ISO-8859-1 of Auto Generated Database Tables Will everything be stored as a pure UTF-8, is it possible?
From Auto-Generated Database Definitions:
Engines = MySam AUTO_INCREMENT = 1 DEFAULT CHARSET = latin1;
Note the "latin1" section.
Most MySQL installations default to Latin 1, so if the default is not provided otherwise, the driver default Values will run For example:
jdbc: mysql: // localhost / databaseName? UseUnicode = yes & characterEncoding = UTF-8
To do this work, MySQL Connector Jar should be of version 5 (3.x will not work).
Source:
Comments
Post a Comment