Re: php & interbase problem.....
| From: | Curt Zirzow | Date: | Wed, 23 Jul 2003 03:14:47 +0000 |
| Subject: | Re: php & interbase problem..... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-156376@lists.php.net to get a copy of this message | ||
* 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."