Bug 2960 - Cyrillic Z39-50 servers (bad encoding results)
Summary: Cyrillic Z39-50 servers (bad encoding results)
Status: CLOSED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: Z39.50 / SRU / OpenSearch Servers (show other bugs)
Version: rel_3_0
Hardware: PC All
: P3 normal
Assignee: Galen Charlton
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-13 08:08 UTC by Chris Cormack
Modified: 2020-06-04 20:32 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Cormack 2010-05-21 01:04:46 UTC


---- Reported by dubyk@library.lviv.ua 2009-02-13 08:08:14 ----

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)



--- Bug imported by chris@bigballofwax.co.nz 2010-05-21 01:04 UTC  ---

This bug was previously known as _bug_ 2960 at http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=2960

Unknown operating system Linux - Debian. Setting to default OS "All".
Actual time not defined. Setting to 0.0
The original reporter of this bug does not have
   an account here. Reassigning to the person who moved
   it here: chris@bigballofwax.co.nz.
   Previous reporter was dubyk@library.lviv.ua.

Comment 1 Mason James 2013-01-30 03:29:30 UTC
(In reply to comment #0)
>  
> ---- Reported by dubyk@library.lviv.ua 2009-02-13 08:08:14 ----
> 
> Try to work with next servers:
> 
> 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)
> 


hmm, the example urls are now invalid, which makes troubleshooting this difficult

perhaps attach a problem MARC record to this ticket...?
Comment 2 Marc Véron 2016-10-03 15:27:04 UTC
Still valid?
Comment 3 Nick Clemens (kidclamp) 2019-07-01 10:15:52 UTC
No more reports of this, and no response from filer, closing this one