25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-26 17:38:45 +01: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"
"\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"