[freetds] Question of Charset

edwardspl at ita.org.mo edwardspl at ita.org.mo
Sun Mar 7 00:24:52 EST 2004


Dear jkl,

For example,

After enter chinese words though program ( Web ) to MS-SQL, then search the
data from the DB...
But the result of the records is not chinese words ( char ) !

So, how to specify the client charset in freetds.conf ?

Thank for your help !

Edward.

"James K. Lowden" wrote:

> On Sun, 07 Mar 2004, edwardspl at ita.org.mo wrote:
> > How to control php ( programms on Linux System ) convert the charset of
> > unicode from MS-SQL 2000 ?
>
> Please be more specific.  Show us a very short example.  What charset do
> you want to convert to?
>
> If you're using FreeTDS 0.62.1, specify the client charset in
> freetds.conf.  Then there is no need to do any conversion in PHP, because
> FreeTDS will do it for you.
>
> --jkl
> _______________________________________________
> FreeTDS mailing list
> FreeTDS at lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds





More information about the FreeTDS mailing list