Re: Sybase character set warning
| From: | M.Moser | Date: | Mon, 12 Mar 2001 14:07:12 +0000 |
| Subject: | Re: Sybase character set warning | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-7314@lists.php.net to get a copy of this message | ||
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" <dennis@sumix.com.au> schrieb im Newsbeitrag
news:3AA845E2.EFA7B354@sumix.com.au...
> 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:
>
> <b>Warning</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: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>