ID:               20962
 Comment by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Feedback
 Bug Type:         InterBase related
 Operating System: win 2000
 PHP Version:      4.2.3
 New Comment:

I'm sorry, but I fix my mistake.

$db_con = ibase_connect($HOST:$DB_PATH, $USER, $PASS, 'win1251');

not 
$db_con = ibase_connect($HOST:$DB_PATH, $USER, $PASS);

and it's OK


Previous Comments:
------------------------------------------------------------------------

[2002-12-12 11:14:03] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip

------------------------------------------------------------------------

[2002-12-12 10:14:28] [EMAIL PROTECTED]

CREATE TABLE CATEGORIES (
    CAT_ID INTEGER NOT NULL,
    CYR_TEXT VARCHAR (100) character set WIN1251);              
<?php
$any_cyrilic_text = 'текст на кирилица';
$update_stmt = "update categories set cyr_text='".$any_cyrilic_text."'
where cat_id=".$edit_id;

ibase_query($db_link, $update_stmt);
?>

after executing this code

Warning: InterBase: arithmetic exception, numeric overflow, or string
truncation Cannot transliterate character between character sets



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=20962&edit=1

Reply via email to