Sybase: Adaptive Server Anywhere 8 on Linux: problem with cp1215
| From: | Igor Georgiev | Date: | Wed, 27 Mar 2002 17:11:37 +0000 |
| Subject: | Sybase: Adaptive Server Anywhere 8 on Linux: problem with cp1215 | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-17986@lists.php.net to get a copy of this message | ||
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