Cyrillic alphabet when saving to a file
Hello! What needs to be corrected so that when saving to MAC (Unicode/UTF-8) there is a Cyrillic character "й", and not two characters "и" and " ̆"? Good Luck! Igor A. Sychev Tomsk Polytechnic University https://lib.tpu.ru
Hi, Is the MARCXML export correct ? Le 26/02/2024 à 11:23, Сычев Игорь Алексеевич a écrit :
Hello! What needs to be corrected so that when saving to MAC (Unicode/UTF-8) there is a Cyrillic character "й", and not two characters "и" and " ̆"?
Good Luck!
Igor A. Sychev Tomsk Polytechnic University https://lib.tpu.ru
_______________________________________________
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
-- Fridolin SOMERS <fridolin.somers@biblibre.com> Software and system maintainer 🦄 BibLibre, France
In MARCXML characters are replaced, example: <datafield tag="712" ind1="0" ind2="2"> <subfield code="a">Национальный исследовательский Томский политехнический университет</subfield> <subfield code="c">(2009- )</subfield> <subfield code="9">26305</subfield> <subfield code="4">070</subfield> </datafield> -----Original Message----- From: Koha <koha-bounces@lists.katipo.co.nz> On Behalf Of Fridolin SOMERS Sent: Monday, February 26, 2024 10:30 PM To: koha@lists.katipo.co.nz Subject: Re: [Koha] Cyrillic alphabet when saving to a file Hi, Is the MARCXML export correct ? Le 26/02/2024 à 11:23, Сычев Игорь Алексеевич a écrit :
Hello! What needs to be corrected so that when saving to MAC (Unicode/UTF-8) there is a Cyrillic character "й", and not two characters "и" and " ̆"?
Good Luck!
Igor A. Sychev Tomsk Polytechnic University https://lib.tpu.ru
_______________________________________________
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
-- Fridolin SOMERS <fridolin.somers@biblibre.com> Software and system maintainer 🦄 BibLibre, France _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
Hi, can you verify that it's different in Koha itself? It might be visible when you edit the record and try to delete the character. It sounds like your character might be in a decomposed Unicode normalization form (NFD vs. NFC). Hope this helps, Katrin On 26.02.24 11:23, Сычев Игорь Алексеевич wrote:
Hello! What needs to be corrected so that when saving to MAC (Unicode/UTF-8) there is a Cyrillic character "й", and not two characters "и" and " ̆"?
Good Luck!
Igor A. Sychev Tomsk Polytechnic University https://lib.tpu.ru
_______________________________________________
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
Thanks! When editing in Koha it is good. I didn't know about Unicode normalization (NFD vs NFC). I read it. It looks like my case. But how can I influence exports? -----Original Message----- From: Koha <koha-bounces@lists.katipo.co.nz> On Behalf Of Katrin Fischer Sent: Tuesday, February 27, 2024 5:07 AM To: koha@lists.katipo.co.nz Subject: Re: [Koha] Cyrillic alphabet when saving to a file Hi, can you verify that it's different in Koha itself? It might be visible when you edit the record and try to delete the character. It sounds like your character might be in a decomposed Unicode normalization form (NFD vs. NFC). Hope this helps, Katrin On 26.02.24 11:23, Сычев Игорь Алексеевич wrote:
Hello! What needs to be corrected so that when saving to MAC (Unicode/UTF-8) there is a Cyrillic character "й", and not two characters "и" and " ̆"?
Good Luck!
Igor A. Sychev Tomsk Polytechnic University https://lib.tpu.ru
_______________________________________________
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
Hi I thinks this comes from this code : https://git.koha-community.org/Koha-community/Koha/src/branch/master/catalog... C4::Charset::SetUTF8Flag($marc, 1); The 1 means use NFD, replace with 0 to use NFC. Le 27/02/2024 à 09:50, Сычев Игорь Алексеевич a écrit :
Thanks! When editing in Koha it is good. I didn't know about Unicode normalization (NFD vs NFC). I read it. It looks like my case. But how can I influence exports?
-----Original Message----- From: Koha <koha-bounces@lists.katipo.co.nz> On Behalf Of Katrin Fischer Sent: Tuesday, February 27, 2024 5:07 AM To: koha@lists.katipo.co.nz Subject: Re: [Koha] Cyrillic alphabet when saving to a file
Hi,
can you verify that it's different in Koha itself? It might be visible when you edit the record and try to delete the character.
It sounds like your character might be in a decomposed Unicode normalization form (NFD vs. NFC).
Hope this helps,
Katrin
On 26.02.24 11:23, Сычев Игорь Алексеевич wrote:
Hello! What needs to be corrected so that when saving to MAC (Unicode/UTF-8) there is a Cyrillic character "й", and not two characters "и" and " ̆"?
Good Luck!
Igor A. Sychev Tomsk Polytechnic University https://lib.tpu.ru
_______________________________________________
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha _______________________________________________
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
-- Fridolin SOMERS <fridolin.somers@biblibre.com> Software and system maintainer 🦄 BibLibre, France
participants (3)
-
Fridolin SOMERS -
Katrin Fischer -
Сычев Игорь Алексеевич