Skip to Content.
Sympa Menu

freetds - Re: [freetds] How to get UTF-8 back in application

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Daniel Fazekas <fdsubs AT t-online.hu>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] How to get UTF-8 back in application
  • Date: Tue, 19 Jul 2005 17:18:05 +0200


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





Archive powered by MHonArc 2.6.24.

Top of Page