24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-02 21:17:12 +02:00

fix for freetds UTF-8 corruption

This commit is contained in:
root 2018-09-07 19:56:39 +03:00
parent 145c0116bf
commit b545301f63

View File

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