Opened 20 months ago
Closed 18 months ago
#1488124 closed Bugs (fixed)
utf8/db error
| Reported by: | corbosman | Owned by: | |
|---|---|---|---|
| Priority: | 5 | Milestone: | 0.7-stable |
| Component: | Database | Version: | 0.6 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
I see the following error in my logs. I can reproduce this by adding a contact, using some special chars (ïëé or whatever) and picking the wrong encoding in your browser (firefox: View/Character? Encoding).
Maybe people with older browsers?
Im running an SVN version around 0.5.2, postgres database, UTF-8 enabled.
roundcube: DB Error: MDB2 Error: unknown error Query: _doQuery: [Error message: Could not execute statement] [Last executed query: INSERT INTO contacts (user_id, changed, del, "name", "email", "firstname", "surname") VALUES (117704, now(), 0, 'dddd', 'cor@…', 'dddę<EB>ẻ', )] [Native message: ERROR: invalid byte sequence for encoding "UTF8": 0xeb2623 HINT: This error can also happen if the byte sequence does not match the encoding expected by the server, which is controlled by "client_encoding".] in /data/WWW/release-0.5/program/include/rcube_mdb2.php on line 642 (POST /?_task=addressbook&_action=save)
Change History (1)
comment:1 Changed 18 months ago by alec
- Resolution set to fixed
- Status changed from new to closed

Fixed in [2cf55f40].