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

2002-03-29 Thread gory

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 [EMAIL PROTECTED] wrote in message
00c801c1d651$47e06d70$0b01a8c0@ANDreY">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 [EMAIL PROTECTED]
 To: Andrey Hristov [EMAIL PROTECTED]
 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 [EMAIL PROTECTED]
  To: Igor Georgiev [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  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 [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   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
  
  
 
 




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




[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 Andrey Hristov

Do you receive ???s ?

Regards,
Andrey


- Original Message - 
From: Igor Georgiev [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
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



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




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

2002-03-28 Thread Andrey Hristov

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 [EMAIL PROTECTED]
To: Andrey Hristov [EMAIL PROTECTED]
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 [EMAIL PROTECTED]
 To: Igor Georgiev [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 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 [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  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
 
 




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




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