[PHP-DB] Sybase: Adaptive Server Anywhere 8 on Linux: problem with cp1215

2002-03-28 Thread Igor Georgiev

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



Re: [PHP-DB] Sybase: Adaptive Server Anywhere 8 on Linux: problem with cp1215

2002-03-28 Thread Igor Georgiev

SQL Anywhere docs says :
Collation label Type   Description
1251CYR  ANSI  Code Page 1251, Windows Cyrillic



- Original Message -
From: Andrey Hristov [EMAIL PROTECTED]
To: Igor Georgiev [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, March 28, 2002 1:07 PM
Subject: Re: [PHP-DB] Sybase: Adaptive Server Anywhere 8 on Linux: problem
with cp1215


 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?




-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php