Subject Re: [firebird-php] Characterset conversion
Author Walter Neumann
Am Freitag, 7. März 2008 10:54 schrieb Milan Babuskov:
> walter_kurt_neumann wrote:
> > I have a database on Firebird 1.5 on a windows server with the
> > characterset WIN1252. Now I have request some data with PHP with
> > characterset UTF-8. What would be the best way to convert the data?
> > 2. Is it right, if I connect to the database with UTF-8, that the
> > database engine convert the data itselve?
>
> Yes, that's right.
>
> If you need everything in UTF-8 on the client side, than it's also the
> best way.

Thank you for your suggestion. But it don't work. By the statement
ibase_fetch_object I recieve the error "arithmetic exception, numeric
overflow or string truncation". A typical error, if the charset don't match.
The default charset in php.ini is set to UTF-8 and the charset in
ibase_connect is UTF-8. What could be wrong?
--

Sincerely
Walter Neumann