From: [EMAIL PROTECTED]
Operating system: win 2000
PHP version: 4.2.3
PHP Bug Type: InterBase related
Bug description: ibase_query don't work with varchar character set win1251
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 bug report at http://bugs.php.net/?id=20962&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20962&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=20962&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=20962&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20962&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=20962&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=20962&r=support
Expected behavior: http://bugs.php.net/fix.php?id=20962&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=20962&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=20962&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=20962&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20962&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=20962&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=20962&r=isapi