In SQLTransformer.java
public SQLTransformer() {
// FIXME (CZ) We have to get the correct encoding from
// somewhere else (XML Serializer?)
this.format = new Properties();
this.format.put(OutputKeys.METHOD, "text");
this.format.put(OutputKeys.ENCODING, "ISO-8859-1");
this.format.put(OutputKeys.OMIT_XML_DECLARATION, "yes");
this.namespaceURI = NAMESPACE;
}
Just like FIXME said,ISO-8859-1 should lead problems.If I use any utf-8 character in
sql,the SQL Trasformer will produce an error.
Suggestion :
move this.format to setup,and get encoding from a parameter.
Roy Huang