Framework ACQ causes mutilated special characters
Hi We have tested the following with Koha 18.11.03 and 20.11.00, both on Debian 9. We are using framework ACQ (downloaded from https://wiki.koha-community.org/wiki/MARC_frameworks ) and have activated Koha system preference "UseACQFrameworkForBiblioRecords". In Koha menu "Acquisitions > Vendor > New basket > Add order to basket: From a new (empty) record" we can see the MARC fields from framework ACQ. Now if we enter for example "Mäuse und Vögel" in MARC 245 $a an order is created which shows the correct title "Mäuse und Vögel" in column "Order". But when clicking this title to open the cataloging view we see the title is actually mutilated to "Mũse und Vg̲el". Or in other words, Unicode strings "äu" (octal 303 244 165) and "ög" (octal 303 266 147) have become octal 165 314 203 and 147 314 262. Can anyone please confirm this? Is there a solution for this problem or should we open a bug report for this? Many thanks in advance. Best wishes: Michael -- Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz T 0041 (0)61 261 55 61 · E mik@adminkuhn.ch · W www.adminkuhn.ch
Hi Michael, When I had this problem, had to do with the leader (field 000) the the ACQ framework. The leader (position 9) indicates the character encoding. If it's not there, Koha freaks out and mangles the special characters. So to solve your problem, add field 000 in your ACQ framework. Regards, Caroline On 21-02-03 15 h 46, Michael Kuhn wrote:
Hi
We have tested the following with Koha 18.11.03 and 20.11.00, both on Debian 9.
We are using framework ACQ (downloaded from https://wiki.koha-community.org/wiki/MARC_frameworks ) and have activated Koha system preference "UseACQFrameworkForBiblioRecords".
In Koha menu "Acquisitions > Vendor > New basket > Add order to basket: From a new (empty) record" we can see the MARC fields from framework ACQ. Now if we enter for example "Mäuse und Vögel" in MARC 245 $a an order is created which shows the correct title "Mäuse und Vögel" in column "Order".
But when clicking this title to open the cataloging view we see the title is actually mutilated to "Mũse und Vg̲el". Or in other words, Unicode strings "äu" (octal 303 244 165) and "ög" (octal 303 266 147) have become octal 165 314 203 and 147 314 262.
Can anyone please confirm this? Is there a solution for this problem or should we open a bug report for this?
Many thanks in advance.
Best wishes: Michael -- Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz T 0041 (0)61 261 55 61 · E mik@adminkuhn.ch · W www.adminkuhn.ch _______________________________________________
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
-- Caroline Cyr La Rose, M.S.I. Bibliothécaire | Responsable de produit Tél. : 1-833-465-4276, poste 221 Caroline.Cyr-La-Rose@inLibro.com <mailto:caroline.cyr-la-rose@inLibro.com> INLiBRO | Spécialistes en technologies documentaires | www.inLibro.com <http://www.inLibro.com>
Hi Caroline
When I had this problem, had to do with the leader (field 000) the the ACQ framework. The leader (position 9) indicates the character encoding. If it's not there, Koha freaks out and mangles the special characters.
So to solve your problem, add field 000 in your ACQ framework.
This was my first idea as well but unfortunately it didn't change the behavior. Also field 000 isn't shown in the section "Catalog details" when creating a new order. But it is shown when opening Koha menu "Administration > MARC frameworks > ACQ". When opening the record with framework ACQ no field 000 is shown. When opening the record with standard framework (what happens when showing the cataloging view directly after creating an order) field 000 is there with correct value "a" in position 9. But in both cases special characters in MARC 245 $a are mutilated. May I ask you to export and send me the CSV file of framework ACQ you have created? Maybe there is some difference in our frameworks. Best wishes: Michael -- Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz T 0041 (0)61 261 55 61 · E mik@adminkuhn.ch · W www.adminkuhn.ch
On 21-02-03 15 h 46, Michael Kuhn wrote:
Hi
We have tested the following with Koha 18.11.03 and 20.11.00, both on Debian 9.
We are using framework ACQ (downloaded from https://wiki.koha-community.org/wiki/MARC_frameworks ) and have activated Koha system preference "UseACQFrameworkForBiblioRecords".
In Koha menu "Acquisitions > Vendor > New basket > Add order to basket: From a new (empty) record" we can see the MARC fields from framework ACQ. Now if we enter for example "Mäuse und Vögel" in MARC 245 $a an order is created which shows the correct title "Mäuse und Vögel" in column "Order".
But when clicking this title to open the cataloging view we see the title is actually mutilated to "Mũse und Vg̲el". Or in other words, Unicode strings "äu" (octal 303 244 165) and "ög" (octal 303 266 147) have become octal 165 314 203 and 147 314 262.
Can anyone please confirm this? Is there a solution for this problem or should we open a bug report for this?
Many thanks in advance.
Best wishes: Michael -- Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz T 0041 (0)61 261 55 61 · E mik@adminkuhn.ch · W www.adminkuhn.ch _______________________________________________
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
Hi Michael, Unfortunately, I don't remember which library had this problem (I work for a company that supports over 40 libraries), so I'm not sure I could find the framework again to export it. However, I did find the bug report that I filled way back when I had this problem. https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23675 You can read what I did (I mention a default value, maybe that's the crux of the problem). Regards, Caroline On 21-02-03 16 h 30, Michael Kuhn wrote:
Hi Caroline
When I had this problem, had to do with the leader (field 000) the the ACQ framework. The leader (position 9) indicates the character encoding. If it's not there, Koha freaks out and mangles the special characters.
So to solve your problem, add field 000 in your ACQ framework.
This was my first idea as well but unfortunately it didn't change the behavior. Also field 000 isn't shown in the section "Catalog details" when creating a new order. But it is shown when opening Koha menu "Administration > MARC frameworks > ACQ".
When opening the record with framework ACQ no field 000 is shown.
When opening the record with standard framework (what happens when showing the cataloging view directly after creating an order) field 000 is there with correct value "a" in position 9.
But in both cases special characters in MARC 245 $a are mutilated.
May I ask you to export and send me the CSV file of framework ACQ you have created? Maybe there is some difference in our frameworks.
Best wishes: Michael
-- Caroline Cyr La Rose, M.S.I. Bibliothécaire | Responsable de produit Tél. : 1-833-465-4276, poste 221 Caroline.Cyr-La-Rose@inLibro.com <mailto:caroline.cyr-la-rose@inLibro.com> INLiBRO | Spécialistes en technologies documentaires | www.inLibro.com <http://www.inLibro.com>
Hi Caroline Unfortunately it doesn't help just adding MARC 000, or adding MARC 000 and setting a default value of " nam a22 7a 4500". Still special characters are mutilated. I have now tested this with Koha 18.11.03, 19.11.05 and 20.11.00. I have commented the bug report accordingly: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23675 (UseACQFrameworkForBiblioRecords default framework is missing LDR breaking encoding) One library uses the following workaround: Instead of going to menu "Acquisitions" and adding an order to the basket "From a new (empty) record", they first create the title data record and then add the order to the basket "From an existing record" by giving the number of the created title data record. Many thanks for giving me hints and creating the original bug report! Best wishes: Michael -- Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz T 0041 (0)61 261 55 61 · E mik@adminkuhn.ch · W www.adminkuhn.ch Am 03.02.21 um 23:07 schrieb Caroline Cyr-La-Rose:
Hi Michael,
Unfortunately, I don't remember which library had this problem (I work for a company that supports over 40 libraries), so I'm not sure I could find the framework again to export it.
However, I did find the bug report that I filled way back when I had this problem. https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23675
You can read what I did (I mention a default value, maybe that's the crux of the problem).
Regards,
Caroline
On 21-02-03 16 h 30, Michael Kuhn wrote:
Hi Caroline
When I had this problem, had to do with the leader (field 000) the the ACQ framework. The leader (position 9) indicates the character encoding. If it's not there, Koha freaks out and mangles the special characters.
So to solve your problem, add field 000 in your ACQ framework.
This was my first idea as well but unfortunately it didn't change the behavior. Also field 000 isn't shown in the section "Catalog details" when creating a new order. But it is shown when opening Koha menu "Administration > MARC frameworks > ACQ".
When opening the record with framework ACQ no field 000 is shown.
When opening the record with standard framework (what happens when showing the cataloging view directly after creating an order) field 000 is there with correct value "a" in position 9.
But in both cases special characters in MARC 245 $a are mutilated.
May I ask you to export and send me the CSV file of framework ACQ you have created? Maybe there is some difference in our frameworks.
Best wishes: Michael
Just for the record: The solution was to do the following in framework ACQ (as downloadable from https://wiki.koha-community.org/wiki/MARC_frameworks ) * add MARC 000 * set that field as Mandatory * add the default value " nam a22 7a 4500" * make it visible for OPAC, Intranet and Editor Using these settings it was possible to create an order with special characters in MARC 245$a that still shows correctly when opened in the catalog. Best wishes: Michael -- Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz T 0041 (0)61 261 55 61 · E mik@adminkuhn.ch · W www.adminkuhn.ch
participants (2)
-
Caroline Cyr-La-Rose -
Michael Kuhn