[Koha-bugs] [Bug 2960] New: Cyrillic Z39-50 servers (bad encoding results)

bugzilla-daemon at pippin.metavore.com bugzilla-daemon at pippin.metavore.com
Fri Feb 13 17:08:18 CET 2009


http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=2960

           Summary: Cyrillic Z39-50 servers (bad encoding results)
           Product: Koha
           Version: rel_3_0
          Platform: PC
        OS/Version: Linux - Debian
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Z39.50 / SRU / OpenSearch Servers
        AssignedTo: jmf at liblime.com
        ReportedBy: dubyk at library.lviv.ua
         QAContact: koha-bugs at lists.koha.org


Try to work with next servers:

http://irspy.indexdata.com/full.html?id=Z39.50%3Aruslan.uni-altai.ru%3A210%2Fbooks
and
http://irspy.indexdata.com/full.html?id=Z39.50%3Awww.lib.csu.ru%3A210%2Fknigi

search on first for 'perl':
http://targettest.indexdata.com/targettest/search/search.zap?term1=perl&field1=%40attr+1%3D1016&name=Chelyabinsk+State+University+-+Scientific+Library&target=www.lib.csu.ru%3A210%2Fknigi&attr=1%2B2%2B3%2B4%2B5%2B6%2B7%2B8%2B12%2B13%2B14%2B16%2B20%2B21%2B30%2B31%2B32%2B33%2B34%2B35%2B36%2B37%2B38%2B39%2B40%2B41%2B42%2B43%2B44%2B47%2B48%2B49%2B50%2B51%2B53%2B54%2B59%2B62%2B63%2B1001%2B1002%2B1003%2B1004%2B1005%2B1006%2B1007%2B1009%2B1011%2B1012%2B1016%2B1018%2B1019%2B1020%2B1021%2B1026%2B1028%2B1031%2B1032%2B1034%2B1035%2B1036%2B1042%2B1044%2B1045%2B1046%2B1049%2B1053%2B1062%2B1063%2B1066%2B1080%2B1082%2B1095&formats=grs-1+rusmarc+sutrs+unimarc+usmarc+xml&x=0&y=0&=submit&syntax=unimarc

found few books, i.e. one of it in unimarc:
http://targettest.indexdata.com/targettest/search/marc.zap?formats=grs-1%20rusmarc%20sutrs%20unimarc%20usmarc%20xml&name=www.lib.csu.ru%3A210%2Fknigi&attr=1+2+3+4+5+6+7+8+12+13+14+16+20+21+30+31+32+33+34+35+36+37+38+39+40+41+42+43+44+47+48+49+50+51+53+54+59+62+63+1001+1002+1003+1004+1005+1006+1007+1009+1011+1012+1016+1018+1019+1020+1021+1026+1028+1031+1032+1034+1035+1036+1042+1044+1045+1046+1049+1053+1062+1063+1066+1080+1082+1095&syntax=unimarc&target=www.lib.csu.ru:210/knigi&term1=perl&field1=%40attr%201%3D1016&start=2&number=1

I see that encoding for 1-st server = KOI8-R

Search on 2nd server for 'perl':
http://targettest.indexdata.com/targettest/search/search.zap?term1=perl&field1=%40attr+1%3D1016&name=Barnaul+State+Pedagogical+University+-+Scientific+and+Pedagogical+Library&target=ruslan.uni-altai.ru%3A210%2Fbooks&attr=1%2B2%2B3%2B4%2B5%2B6%2B7%2B8%2B12%2B13%2B14%2B16%2B20%2B21%2B30%2B31%2B32%2B33%2B34%2B35%2B36%2B37%2B38%2B39%2B40%2B41%2B42%2B43%2B44%2B47%2B48%2B49%2B50%2B51%2B53%2B54%2B59%2B62%2B63%2B1000%2B1001%2B1002%2B1003%2B1004%2B1005%2B1006%2B1007%2B1009%2B1011%2B1012%2B1016%2B1018%2B1019%2B1020%2B1021%2B1026%2B1028%2B1031%2B1032%2B1034%2B1035%2B1036%2B1042%2B1044%2B1045%2B1046%2B1049%2B1053%2B1062%2B1063%2B1066%2B1082%2B1095&formats=grs-1+rusmarc+sutrs+unimarc+usmarc+xml&x=0&y=0&=submit&syntax=unimarc

found few books, i.e. one of it in unimarc:
http://targettest.indexdata.com/targettest/search/marc.zap?formats=grs-1%20rusmarc%20sutrs%20unimarc%20usmarc%20xml&name=ruslan.uni-altai.ru%3A210%2Fbooks&attr=1+2+3+4+5+6+7+8+12+13+14+16+20+21+30+31+32+33+34+35+36+37+38+39+40+41+42+43+44+47+48+49+50+51+53+54+59+62+63+1000+1001+1002+1003+1004+1005+1006+1007+1009+1011+1012+1016+1018+1019+1020+1021+1026+1028+1031+1032+1034+1035+1036+1042+1044+1045+1046+1049+1053+1062+1063+1066+1082+1095&syntax=unimarc&target=ruslan.uni-altai.ru:210/books&term1=perl&field1=%40attr%201%3D1016&start=1&number=1

Also I see that encoding for second server = WINDOWS-1251


Next I edit in Koha table 'z3950servers' (via phpmyadmin)
field encoding 
to
WINDOWS-1251
or
KOI8-R

On next try to serach in Koha via
/cgi-bin/koha/cataloguing/z3950_search.pl
 - found this records (search for 'perl')

but result in bad encoding (something like ISO-8859-1)




------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.



More information about the Koha-bugs mailing list