Re: php & interbase problem.....
| From: | Wei | Date: | Wed, 23 Jul 2003 06:17:37 +0000 |
| Subject: | Re: php & interbase problem..... | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-156394@lists.php.net to get a copy of this message | ||
I already set the charset but still cannot work. By the way, I can retrieve
the data in other program.
Anyway, thanks for your reply....
"Curt Zirzow" <curt@zirzow.dyndns.org> wrote in message
news:20030723031447.GW67309@bagend.shire...
> * Thus wrote Wei (ttzew@yahoo.com):
> > Hope someone can solve my problem.....
> >
> > I'm using Interbase as a database. I get error message when I retrieve
data
> > from the database (ibase_fetch_row) which contain chinese character.
> >
> > Warning: ibase_fetch_row(): arithmetic exception, numeric overflow, or
> > string truncation Cannot transliterate character between character sets
in
> > .........
>
> Not sure if this helps:
>
> http://bdn.borland.com/article/0,1410,29891,00.html
>
> then this should:
>
> http://php.net/ibase_connect
>
> <snip>
> int ibase_connect ( string database [, string username [, string
> password [, string charset [, int buffers [, int dialect [, string
> role]]]]]])
> </snip>
>
> Notice the charset parater, you need to set that to the appropriate
> charset chinese is defined as. (Big5, Big5HKHCS, etc...)
>
>
> Curt
> --
> "I used to think I was indecisive, but now I'm not so sure."