Re: Sybase: Adaptive Server Anywhere 8 on Linux: problem with cp1215
| From: | Andrey Hristov | Date: | Thu, 28 Mar 2002 11:09:01 +0000 |
| Subject: | Re: Sybase: Adaptive Server Anywhere 8 on Linux: problem with cp1215 | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-17988@lists.php.net to get a copy of this message | ||
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