29.01.2014, 23:31
Quote:
Bug here!
mysql_set_charset("cp1251") doesn't work in R35 with mysql_tquery or mysql_pquery. Fix it pls. Код:
[23:34:43] [DEBUG] cache_get_row_count - connection: 1 [23:34:43] [DEBUG] mysql_set_charset - charset: "cp1251", connection: 1 [23:34:43] [DEBUG] orm_create - table: "hints", connectionHandle: 1 [23:34:43] [DEBUG] COrm::Create - creating new orm object.. [23:34:43] [DEBUG] COrm::Create - orm object created (id: 1) [23:34:43] [DEBUG] orm_addvar - orm_id: 1, var: 02A15D20, datatype: 0, varname: "id", var_maxlen: 1 [23:34:43] [DEBUG] orm_setkey - orm_id: 1, varname: "id" [23:34:43] [DEBUG] orm_addvar - orm_id: 1, var: 02A15D48, datatype: 2, varname: "description", var_maxlen: 55 [23:34:43] [DEBUG] orm_apply_cache - orm_id: 1, row: 0 [23:34:43] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "description", data: "??????? ??????? ? 2-? ???????? ????????" [23:34:43] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "id", data: "1" |
SET NAMES cp1251;
SET SESSION character_set_server='cp1251';