Re: Charset option

Igor Korot <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
Dalibor

2011/5/17 Dalibor Kušić <[email protected]>:
> I've debugged this to a point where I see that a correct stream in UTF-16LE arrives from the SQL server and then iconv needs to convert this to UTF-8 which is native to the unix system, but for some reason fails....
> Here's a dump from the freetds log file:
>        Server charset: UCS-2LE
>        Server column_size: 510
>        Client charset: UTF-8
>        Client column_size: 1020
>
> Which shows these charsets.... Any ideas?

Could you try to configure "--with-iconv=no", please?

Thank you.

>
> Dalibor
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of Dalibor Kušić
> Sent: Tuesday, May 17, 2011 1:40 PM
> To: [email protected]
> Subject: [freetds] Charset option
>
> Hi!
>
> I'm having trouble using freeTDS to talk to a MS SQL database with a charset of CP1250. I can't achieve to see national characters when executing a query using iSQL.
>
> I've downloaded and built from schratch the latest stable version of FreeTDS. I've configured unixODBC and have put
> Client charset = ISO-8859-2
> in the freetds.conf file.
>
> However when I login to the database using iSQL and execute a query, I see "?" instead of my national characters.....
>
> Dalibor Kušić
>
> _______________________________________________
> FreeTDS mailing list
> [email protected]
> http://lists.ibiblio.org/mailman/listinfo/freetds
> _______________________________________________
> FreeTDS mailing list
> [email protected]
> http://lists.ibiblio.org/mailman/listinfo/freetds
>
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.