[freetds] Does it fixed?

James liu liuping.james at gmail.com
Thu Apr 12 21:28:52 EDT 2007


Freetds.log i find server charset is CP936.

so I change freetds.conf's client charset to CP936.

when i get data from ms sql server, i use iconv(PHP FUNCTION) which change
data charset from "CP 936" to UTF-8

and print out,,,it show me it is ok.

Hope it can help anyone who have the same question.


2007/4/12, ZIGLIO, Frediano, VF-IT <Frediano.Ziglio at vodafone.com>:
>
>
> >
> > Thks.. i know how to fix my problem.
> >
> > 2007/4/12, James liu <liuping.james at gmail.com>:
> > >
> > > Im not clear what you mean.
> > >
> > > i use freetsd,,,and client charset=UTF-8
> > >
> > > mssql connect use UTF-8
> > >
> > > mssql field type is gb2312
> > >
> > > now i use freebsd and LANG is utf-8
> > >
>
> How did you solve the problem?
>
> freddy77
>
> _______________________________________________
> FreeTDS mailing list
> FreeTDS at lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
>



-- 
regards
jl


More information about the FreeTDS mailing list