Merge pull request #2597 from dmitryDemchenko/master

fix for freetds UTF-8 corruption
This commit is contained in:
Evgeny Khramtsov 2018-09-07 22:50:16 +03:00 committed by GitHub
commit 9de2ca4568
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -1034,6 +1034,7 @@ init_mssql(Host) ->
FreeTDS = io_lib:fwrite("[~s]~n"
"\thost = ~s~n"
"\tport = ~p~n"
"\tclient charset = UTF-8~n"
"\ttds version = 7.1~n",
[Host, Server, Port]),
ODBCINST = io_lib:fwrite("[freetds]~n"