Hi. I have created my own framework (from BKS), with less fields in the structure, and with new Labels in spanish. When I try to add a new record (biblio) with ñ or Ñ character, the h1 field remove those characters, and diacritical marks are showed wrong (Jiménez as Jimňez). The info in the database is correct. This is not happening in detail.tt OS: CenOS 7 Locale: LANG=es_ES.utf8 LC_CTYPE="es_ES.utf8" LC_NUMERIC="es_ES.utf8" LC_TIME="es_ES.utf8" LC_COLLATE="es_ES.utf8" LC_MONETARY="es_ES.utf8" LC_MESSAGES="es_ES.utf8" LC_PAPER="es_ES.utf8" LC_NAME="es_ES.utf8" LC_ADDRESS="es_ES.utf8" LC_TELEPHONE="es_ES.utf8" LC_MEASUREMENT="es_ES.utf8" LC_IDENTIFICATION="es_ES.utf8" LC_ALL= Apache with AddDefaultCharset UTF-8 Mysql 5.6 char variables: +--------------------------+----------------------------+ | Variable_name | Value | +--------------------------+----------------------------+ | character_set_client | utf8 | | character_set_connection | utf8 | | character_set_database | utf8 | | character_set_filesystem | binary | | character_set_results | utf8 | | character_set_server | utf8 | | character_set_system | utf8 | | character_sets_dir | /usr/share/mysql/charsets/ | +--------------------------+----------------------------+ Regards.
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.