title: liquibase corrupting UTF-8 changesets
body: <p>I'm using Liquibase 2.0.5 (but have already tested with newest 3.2.0 to no avail) and when I try to update MySQL 5.5 database with SQL changesets consisting UTF-8 characters all seem to get converted to ASCII as instead of polish letters I get "?".</p>
  
  <p>Here is the command I'm using:</p>
  
  <pre><code>java -jar liquibase.jar --changeLogFile=changesets.xml --url="jdbc:mysql://localhost/dbname" --username=user --password=pass --driver=com.mysql.jdbc.Driver --classpath=mysql-connector-java-5.1.21-bin.jar update
  </code></pre>
  
  <p>changeset.xml is like:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  
  &lt;databaseChangeLog
    xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-2.0.xsd"&gt;
  
    &lt;include file="Changesets/2014.26/changesets.xml"/&gt;
  &lt;/databaseChangeLog&gt;
  </code></pre>
  
  <p>Changesets/2014.26/changesets.xml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  
  &lt;databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
                     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                     xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
           http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-2.0.xsd"&gt;
  
      &lt;changeSet id="20140623_1700" author="tmarcinkowski"&gt;
          &lt;sqlFile path="Changesets/2014.26/20140623_1700_tmarcinkowski_ss_303.sql"/&gt;
      &lt;/changeSet&gt;
  &lt;/databaseChangeLog&gt;
  </code></pre>
  
  <p>And finally... Changesets/2014.26/20140623_1700_tmarcinkowski_ss_303.sql:</p>
  
  <pre><code>INSERT INTO `catalog` (`category_id`, `parent_category_id`, `name`, `priority`, `photo`, `icon_catalog`, `icon_breadcrumbs`, `lft`, `rgt`) VALUES
  (0, NULL, 'root', 0, '', '', '', 1, 1262),
  (1, 0, 'Art. spożywcze', 1, '', '', '', 2, 755),
  (2, 1, 'Owoce i Warzywa', 4, '', '', '', 3, 60),
  (3, 1, 'Nabiał', 2, '', '', '', 61, 146),
  (4, 1, 'Mięso, Wędliny', 5, '', '', '', 147, 206),
  (5, 1, 'Ryby i Owoce morza', 9, '', '', '', 207, 234),
  (6, 1, 'Mrożonki i lody', 10, '', '', '', 235, 266),
  (7, 1, 'Pieczywo', 1, '', '', '', 267, 324);
  </code></pre>
  
  <p>Appending --logLevel=debug shows already corrupted characters.</p>
  
  <pre><code>DEBUG 6/25/14 11:17 AM:liquibase: SQLFile file:Changesets/2014.26/20140623_1700_tmarcinkowski_ss_303.sql
  DEBUG 6/25/14 11:17 AM:liquibase: SQLFile file contents is:
  
  INSERT INTO `catalog` (`category_id`, `parent_category_id`, `name`, `priority`, `photo`, `icon_catalog`, `icon_breadcrumbs`, `lft`, `rgt`) VALUES
  (0, NULL, 'root', 0, '', '', '', 1, 1262),
  (1, 0, 'Art. spo?ywcze', 1, '', '', '', 2, 755),
  (2, 1, 'Owoce i Warzywa', 4, '', '', '', 3, 60),
  (3, 1, 'Nabia?', 2, '', '', '', 61, 146),
  (4, 1, 'Mi?so, W?dliny', 5, '', '', '', 147, 206),
  (5, 1, 'Ryby i Owoce morza', 9, '', '', '', 207, 234),
  (6, 1, 'Mro?onki i lody', 10, '', '', '', 235, 266),
  (7, 1, 'Pieczywo', 1, '', '', '', 267, 324);
  </code></pre>
  
  <p>Appending "useJvmCharsetConverters=true" and "charSet=UTF-8" to connection string doesn't help either, just as adding "SET NAMES utf8;" at the beginning of a changeset.
  All files are UTF-8.</p>
  
  <p>Does anyone know how to handle it?</p>