Skip to Content.
Sympa Menu

freetds - RE: [freetds] Re: PHP & FreeTDS

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: pdjekic AT smail.uni-koeln.de
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] Re: PHP & FreeTDS
  • Date: Mon, 16 Aug 2004 13:40:08 +0200

when i do the iconv list i get:
ISO-10646/UCS2/
ISO-10646/UTF-8/
ISO-10646/UTF8/
UCS-2//
UCS-2BE//
UCS-2LE//
UCS2//
UTF-8//
UTF8//

obviously ISO-8859-1 is missng, could that be the problem? if so, how can i
add
it to my iconv?

Quoting "ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio AT vodafone.com>:

> >
> > im using freetds-0.63.dev.20040813 on Suse linux.
> > heres my config.h
> >
>
> Linux ??? Quite strange... iconv should work under linux...
>
> ...
> >
> > /* Define if you have the iconv() function. */
> > #define HAVE_ICONV 1
> >
> ...
> >
> > /* Define to 1 if you have the <langinfo.h> header file. */
> > #define HAVE_LANGINFO_H 1
> >
> ...
> >
> > /* Define to 1 if you have the `locale_charset' function. */
> > /* #undef HAVE_LOCALE_CHARSET */
> >
> ...
> >
> > /* Define to 1 if you have the `nl_langinfo' function. */
> > #define HAVE_NL_LANGINFO 1
> >
> ...
> >
> > /* Define to 1 if you have the SQLGetPrivateProfileString function. */
> > /* #undef HAVE_SQLGETPRIVATEPROFILESTRING */
> >
> ...
> >
> > /* Define as const if the declaration of iconv() needs const. */
> > #define ICONV_CONST
> >
> ...
>
> Information about iconv seems ok... It seems you have an old ODBC
> version or not ODBC but if you are not using it it's not a problem...
>
> On my system (Fedora Core 1, linux)
>
> $ iconv -l | grep '\(UTF.\?8\|ISO.\?8859.\?1\|UCS.\?2\)'
>
> ISO-8859-1//
> ISO-8859-10//
> ISO-8859-11//
> ISO-8859-13//
> ISO-8859-14//
> ISO-8859-15//
> ISO-8859-16//
> ISO-10646/UCS2/
> ISO-10646/UTF-8/
> ISO-10646/UTF8/
> ISO8859-1//
> ISO8859-10//
> ISO8859-11//
> ISO8859-13//
> ISO8859-14//
> ISO8859-15//
> ISO8859-16//
> ISO88591//
> ISO885910//
> ISO885911//
> ISO885913//
> ISO885914//
> ISO885915//
> ISO885916//
> ISO_8859-1//
> ISO_8859-1:1987//
> ISO_8859-10//
> ISO_8859-10:1992//
> ISO_8859-14//
> ISO_8859-14:1998//
> ISO_8859-15//
> ISO_8859-15:1998//
> ISO_8859-16//
> ISO_8859-16:2001//
> UCS-2//
> UCS-2BE//
> UCS-2LE//
> UCS2//
> UTF-8//
> UTF8//
>
> FreeTDS require UTF-8, UCS-2 (LE, BE or just UCS-2) and ISO-8859-1.
> However when you use --disable-libiconv FreeTDS should use an internal
> iconv function (that support all required charsets) so I don't
> understand what's happening.. :(
>
> freddy77
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
>







Archive powered by MHonArc 2.6.24.

Top of Page