I am trying to read SQL files in liquibase using the sqlFile tag. The problem is that when I use the updateSQL command all the non latin characters are replaced by question marks.
Does anybody have an idea of what's going on ?
Thank you,
Cédric
- <changeSet id="1-data" author="myName">
<sqlFile encoding="UTF-8" path="file.sql"/>
</changeSet>
- <plugin>
<groupId>org.liquibase</groupId>
<artifactId>liquibase-maven-plugin</artifactId>
<configuration>
<propertyFile>src/main/resources/dbSharedTables/liquibase/liquibase.properties</propertyFile>
<defaultSchemaName>EURES3</defaultSchemaName>
<systemProperties>
<property>
<name>liquibase.databaseChangeLogTableName</name>
<value>X_DATABASECHANGELOG</value>
</property>
<property>
<name>liquibase.databaseChangeLogLockTableName</name>
<value>X_DATABASECHANGELOGLOCK</value>
</property>
<property>
<name>file.encoding</name>
<value>UTF-8</value>
</property>
</systemProperties>
</configuration>
Does anybody have an idea of what's going on ?
Thank you,
Cédric