[freetds] Moving from protocol TDS 4.2 to 7.0 -> French char acters problem

Lowden, James K LowdenJK at bernstein.com
Thu Apr 3 10:58:04 EST 2003


> From: Philippe PAULEAU [mailto:ppauleau at cartesis.com]
> Sent: April 3, 2003 10:51 AM
>
> i'm using freetds 0.61 and mandrake 9.0 ( ie redhat )
> 
> root /usr/local/freetds/bin #./tsql -S jupiter -U forum
> locale is
> "LC_CTYPE=fr_FR;LC_NUMERIC=fr_FR;LC_TIME=fr_FR;LC_COLLATE=fr_F
> R;LC_MONETARY=
> fr_FR;LC_MESSAGES=fr_FR;LC_PAPER=fr_fr;LC_NAME=fr_fr;LC_ADDRES
> S=fr_fr;LC_TEL
> EPHONE=fr_fr;LC_MEASUREMENT=fr_fr;LC_IDENTIFICATION=fr_fr"
> charset is "ISO-8859-15"

Wow.  

> What is this -C option for tsql and how to debug the
> char conversion ?
> 
> ./tsql: invalid option -- C

Oh, sorry.  -C must have been added after 0.61.  That's OK; it would just
tell you the compile-time options.  

TDSDUMP is your friend here.  The first few lines of the log will tell you
if iconv was successfully initialized.  

If you run a trivial query selecting a few accented characters and post your
log file (be advised it includes your password), we should be able to nail
it down.  

--jkl


The information contained in this transmission may contain privileged and
confidential information and is intended only for the use of the person(s)
named above.  If you are not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, any
review, dissemination, distribution or duplication of this communication is
strictly prohibited. If you are not the intended recipient, please contact
the sender immediately by reply e-mail and destroy all copies of the
original message. Please note that we do not accept account orders and/or
instructions by e-mail, and therefore will not be responsible for carrying
out such orders and/or instructions.




More information about the FreeTDS mailing list