求教保存的问题
[font=仿宋_GB2312]设置基础信息中公司:改公司名时,四个中文字符能保存,在加个字符就出错,如”华力科技“可以保存,再加字符就出错,出错信息如下:[/font][color=red][b]数据库错误[/b] : 公司参数不能更新, 因为
Incorrect string value: '\xC2\xCC\xB5\xD8\xC4\xBE...' for column 'coyname' at row 1[/color]
[color=red][b]数据库 SQL 失败[/b] : 运行失败的 SQL 是
UPDATE companies SET coyname='华力科技的', companynumber = '', gstno='not entered yet', regoffice1='123 Web Way', regoffice2='PO Box 123', regoffice3='Queen Street', regoffice4='Melbourne', regoffice5='Victoria 3043', regoffice6='Australia', telephone='+61 3 4567 8901', fax='+61 3 4567 8902', email='webERP@weberpdemo.com', currencydefault='AUD', debtorsact=1100, pytdiscountact=4900, creditorsact=2100, payrollact=2400, grnact=2150, exchangediffact=4200, purchasesexchangediffact=5200, retainedearnings=3500, gllink_debtors=1, gllink_creditors=1, gllink_stock=1, freightact=5600 WHERE coycode=1[/color] 这奇怪了我没这个问题。是不是你用的字符集不是utf8的?
页:
[1]