From: Adam Dickmeiss Date: Thu, 9 Mar 2006 00:08:29 +0000 (+0000) Subject: Use proper recordcharset for opacxml X-Git-Tag: YAZPROXY.1.1.0.2~37 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=14193dbf3175e67a99dfcd8080786249b3ce94b3;p=yazproxy-moved-to-github.git Use proper recordcharset for opacxml --- diff --git a/src/yaz-proxy.cpp b/src/yaz-proxy.cpp index 1edd048..7f073cc 100644 --- a/src/yaz-proxy.cpp +++ b/src/yaz-proxy.cpp @@ -1,4 +1,4 @@ -/* $Id: yaz-proxy.cpp,v 1.41 2005-11-30 11:38:46 adam Exp $ +/* $Id: yaz-proxy.cpp,v 1.42 2006-03-09 00:08:29 adam Exp $ Copyright (c) 1998-2005, Index Data. This file is part of the yaz-proxy. @@ -1041,7 +1041,7 @@ void Yaz_Proxy::convert_to_marcxml(Z_NamePlusRecordList *p, { WRBUF w = wrbuf_alloc(); - yaz_display_OPAC(w, r->u.opac, 0); + yaz_opac_decode_wrbuf(mt, r->u.opac, w); npr->u.databaseRecord = z_ext_record( odr_encode(), VAL_TEXT_XML, wrbuf_buf(w), wrbuf_len(w)