Re: Sybase: Adaptive Server Anywhere 8 on Linux: problem with cp1215

From: Date: Fri, 29 Mar 2002 12:24:57 +0000
Subject: Re: Sybase: Adaptive Server Anywhere 8 on Linux: problem with cp1215
References: 1 2 3 4  Groups: php.db 
Request: Send a blank email to php-db+get-18021@lists.php.net to get a copy of this message
SQL Anywhere docs says : Collation label Type Description 1251CYR ANSI Code Page 1251, Windows Cyrillic same DB and scripts works fine on windows i think it is a ODBC problem on Linux "Andrey Hristov" <ahristov@icygen.com> wrote in message news:00c801c1d651$47e06d70$0b01a8c0@ANDreY... > This seems a unicode problem to me. > Here we have similar problem when PHP connects to Access 2000 and receives ???s. No problems with Access 97. Are you sure that the > data is 1 byte not unicode format? > > Andrey > ----- Original Message ----- > From: "Igor Georgiev" <gory@alphasoft-bg.com> > To: "Andrey Hristov" <ahristov@icygen.com> > Sent: Thursday, March 28, 2002 2:20 PM > Subject: Re: [PHP-DB] Sybase: Adaptive Server Anywhere 8 on Linux: problem with cp1215 > > > > I recive this > > PHP -   > > in DB - îÏÒÍÁÔÉ×ÎÁ ÕÒÅÄÂÁ > > ----- Original Message ----- > > From: "Andrey Hristov" <ahristov@icygen.com> > > To: "Igor Georgiev" <gory@alphasoft-bg.com> > > Cc: <php-db@lists.php.net> > > Sent: Thursday, March 28, 2002 12:09 PM > > Subject: Re: [PHP-DB] Sybase: Adaptive Server Anywhere 8 on Linux: problem > > with cp1215 > > > > > > > Do you receive "???"s ? > > > > > > Regards, > > > Andrey > > > > > > > > > ----- Original Message ----- > > > From: "Igor Georgiev" <gory@alphasoft-bg.com> > > > To: <php-db@lists.php.net> > > > Sent: Wednesday, March 27, 2002 7:11 PM > > > Subject: [PHP-DB] Sybase: Adaptive Server Anywhere 8 on Linux: problem > > with cp1215 > > > > > > > > > PHP 4.1.2 > > > Apache 1.3.23 > > > Slackware 7.1 > > > Sybase: Adaptive Server Anywhere 8 > > > iODBC - libiodbc-3.0.5 > > > > > > database created with 1251CYR collation > > > work fine with cyrillic strings trough windows app (ODBC) > > > but with PHP on linux trough iODBC & Adaptive Server Anywhere ODBC driver > > 8.0.x not > > > > > > -------- ODBC.INI------------- > > > [ODBC Data Sources] > > > aaa=Adaptive Server Anywhere ODBC driver 8.0.x > > > > > > [aaa] > > > Driver=/usr/local/sybase/SYBSsa8/lib/dbodbc8.so > > > ServerName=alpha > > > CommLinks=tcpip > > > CS=cp1251 > > > > > > -------------------------------------------- > > > tried also > > > CS=1251CYR > > > CS="Charset=cp1251;CollationLabel=1251CYR" > > > Charset=cp1251 > > > CollationLabel=1251CYR > > > > > > Any help be welcome 10x > > > > > > > > > > >

« previous php.db (#18021) next »