[freetds] How to get UTF-8 back in application
Daniel Fazekas
fdsubs at t-online.hu
Tue Jul 19 11:18:05 EDT 2005
On Jul 19, 2005, at 15:57, bohica at ntlworld.com wrote:
> BUT tsql still does:
> locale is "en_US"
> using default charset "ISO-8859-1"
>
> 14:51:55.663481 iconv to convert client-side data to the
> "ISO-8859-1" character
> set
> I'm not as bothered about tsql; I only tried it when I could not
> get client
> charset picked up from isql and thought it might work better with
> client
> charset.
Hmm. Is it possible tsql would ignore the client charset as
configured in freetds.conf even when you correctly use the -S option?
It appears it prefers getting the client charset from your locale
settings.
So you should try:
LANG=en_US.utf-8 tsql -S servername
Anyway, tsql is only really intended to be a first test to check that
your FreeTDS installation is working.
--
fds
More information about the FreeTDS
mailing list