Summary: | Encoding error adding new biblio in custom framework | ||
---|---|---|---|
Product: | Koha | Reporter: | pablo.jimenez |
Component: | Cataloging | Assignee: | Galen Charlton <gmcharlt> |
Status: | CLOSED WORKSFORME | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P5 - low | CC: | katrin.fischer, m.de.rooy |
Version: | 3.18 | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: |
Description
pablo.jimenez
2015-05-13 14:19:34 UTC
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 | +----------------------+---------------+--------------------+ Hi Pablo, can you check if your framework includes the controlfield for setting the encoding for the MARC record? - I think it's LDR, pos. 9 Make sure that it's also linked to the standard plugin for the leader. (In reply to Katrin Fischer from comment #2) > Hi Pablo, > can you check if your framework includes the controlfield for setting the > encoding for the MARC record? - I think it's LDR, pos. 9 Make sure that it's > also linked to the standard plugin for the leader. Hi Katrin. The field exists, in 000 tag, and its asociated with marc21_leader.pl. An example of leader tax in marcxml in the database is: <leader>00147 a2200085 4500</leader> The 'a' in the pos. 09 is what you asked for? Also, tags for title as 100a or 245a show <datafield tag="100" ind1=" " ind2=" "> <subfield code="a">Přez</subfield> --> It should be Pérez </datafield> <datafield tag="245" ind1=" " ind2=" "> <subfield code="a">Jimňez Muǫz</subfield> --> It should be Jiménez Muñoz </datafield> Thanks for your time. Pablo Hm, strange. Just to make sure - does the problem also appear in the default framework? No activity on this bug for over a year. I think we should assume it is resolved. Please reopen if you have additional information to help us reproduce the problem. |