Skip to content

Commit

Permalink
Update readme charset doc
Browse files Browse the repository at this point in the history
  • Loading branch information
David Lopez committed May 7, 2024
1 parent 69dfec3 commit 391b3b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ If _mailSendTo_ configured the tool sends an email with formatted output.
* printHeader=true/false If true adds header with query's column name. Default true
* printFieldSeparator=Field separator for printing. Default tab (\t)
* formatterName=Formatter type, possible values: text, html or csv (default text)
* charset=Charset, to force output file charset. Default: jvm default charset

## Mail config values:

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/es/jdlopez/sqlcmd/RunnerConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ public class RunnerConfig {
private String mailFrom;
private String mailSubject;
private String formatterName;
private String charset;

private ResultFormatter formatter = null;
private String charset;

public ResultFormatter buildFormatter() {
if (formatter == null) {
Expand Down

0 comments on commit 391b3b7

Please sign in to comment.