Odp: [PHP-DB] InterBase

From: Date: Mon, 30 Jul 2001 04:14:30 +0000
Subject: Odp: [PHP-DB] InterBase
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-10888@lists.php.net to get a copy of this message
Od: "Sergey Larionov" <larionov@akl.ru> Temat: [PHP-DB] InterBase > "Warning: InterBase: arithmetic exception, numeric overflow, or string > truncation Cannot transliterate character between character sets in > /home/larionov/public_html/base.php on line 6" > How I can turn off tranliteration? You cann't just "turn it off" - this message means that client charset is different than db charset. If you have database created with default character set, say, WIN1252, you will get this message when you try to retrieve row using, say, WIN1250 and the row contains characters from outside of WIN1250 character set. This also happens when you do not specify character set when creating columns in tables then connect specifying character set - all characters above #127 will be trated as illegal and raise this error. That's why the best approach is to specify default character set when creating database - all character and text blob columns will use this character set and no special processing will be nacessary during connecting, just set the appropriate lc_ctype variable in database parameter buffer (i.e. in ibase_connect parameters). Cheers Jarek Zgoda

« previous php.db (#10888) next »