[Koha-bugs] [Bug 14196] Encoding error adding new biblio in custom framework

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed May 13 16:34:31 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14196

--- Comment #1 from pablo.jimenez at ext.satec.es ---
I was wrong about the data in database, after a query it looks like is double
utf-8 encoded

SELECT title, LENGTH(title), CHAR_LENGTH(title) FROM biblio WHERE LENGTH(title)
!= CHAR_LENGTH(title);
+----------------------+---------------+--------------------+
| title                | LENGTH(title) | CHAR_LENGTH(title) |
+----------------------+---------------+--------------------+
| España               |             7 |                  6 |
| ÑAM                  |             4 |                  3 |
| ñññí                 |             8 |                  4 |
| Ñam3                 |             5 |                  4 |
| ÑAAAAM               |             7 |                  6 |
| ñññññ                |            10 |                  5 |
| eeeeeñí              |             9 |                  7 |
| bbbbbbbññññíóo       |            20 |                 14 |
+----------------------+---------------+--------------------+

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list