Re: [PHP-DB] Sybase character set warning

2001-03-12 Thread M.Moser

Hi i found this:

Undocumented parameter "charset" ...

The complete prototype of sybase_connect is : int sybase_connect([string
host [, string user [, string password [, string charset).

If , after a "sybase_connect", you receive a message like :
" Sybase message: Cannot find the requested character set in Syscharsets:
name = 'ÎU'. (severity 11) ", call sybase_connect like this :
sybase_connect($host,$user,$password,'iso_1');

(if your charset is not 'iso_1', the next error message will tell you the
good one !)

and it will work fine ...



"Dennis Luo" [EMAIL PROTECTED] schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 To all the experts,

 I have a small problem with PHP4 connecting to Sybase.

 Everytime when I connect to a sybase database, the following warning
 comes up:

 bWarning/b:  Sybase message:  Cannot find the requested character
 set in Syscharsets:  name = 'ܮX'. (severity 11)

 Looks like there is a char set problem.

 Can you please help.

 Cheers,
 Dennis


 --
 PHP Database Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]




-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DB] Sybase character set warning

2001-03-12 Thread M.Moser

http://www.php.net/manual/de/function.sybase-connect.php



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]