Help with charset

"Nelson A. de Oliveira" <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <CAARFvTXhKqyMeG=Fh4DX0Wt30FZSZj8V=pwj+9vLtWvdoX_WBg@mail.gmail.com>
Hi!

I am having a small issue with the wrong charset when using freetds.
While testing some queries with sqsh and trying to define the charset
with every method explained in sqsh's manpage (and failing to get the
correct result), I saw that the same wrong behavior is happening with
tsql.

For example, an entry that should be correctly displayed as BÁRBARA
NÓBREGA is being returned as BµRBARA NàBREGA (everything that has an
accent is wrongly displayed).

I have tried to define "client charset = UTF-8" in freetds.conf but I
always get the same wrong results.
Installed freetds is Debian's 0.82-8

Is this something that has been (or could be) fixed in newer versions?
How can I debug this (or correctly define the charset), please?

Thank you very much!

Best regards,
Nelson
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.