Skip to content

Instantly share code, notes, and snippets.

@johnkary
Created September 20, 2013 21:01
Show Gist options
  • Save johnkary/6643856 to your computer and use it in GitHub Desktop.
Save johnkary/6643856 to your computer and use it in GitHub Desktop.
Configure FreeTDS to connect from Linux to MSSQL and allow specifying a custom character set. The file location varies based on distribution, but two I've found: Ubuntu /etc/freetds/freetds.conf and Red Hat Enterprise Linux (RHEL) /etc/freetds.conf
[global]
# TDS protocol version
tds version = 7.0
client charset = UTF-8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment