X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=doc%2Fzoom.xml;h=8a6bb92af30e2cdd1e9eb7a410dd30b9ae2901e7;hp=da8f0a9a5132616ab15c00612d6d228e1790240b;hb=275390c6f75f5f1adf39a0bae4893168b95f7695;hpb=45bf7a223153a11dcc07b1f1cb988f02af3a23f1 diff --git a/doc/zoom.xml b/doc/zoom.xml index da8f0a9..8a6bb92 100644 --- a/doc/zoom.xml +++ b/doc/zoom.xml @@ -750,18 +750,29 @@ ZOOM_query_cql2rpn(ZOOM_query s, const char *str, ZOOM_connection conn) The type is a string of the format: - form[;charset=from[,to]][;format=v] + format[;charset=from[/opacfrom][,to]][;format=v] - where form specifies the format of the + where format specifies the format of the returned record, from specifies the character set of the record in its original form (as returned by the server), to specifies the output (returned) character set encoding. - If charset is not given, then no character set conversion takes place. If to is omitted UTF-8 is assumed. + If charset is not given, then no character set conversion takes place. + + + OPAC records may be returned in a different + set from the bibliographic MARC record. If this is this the case, + opacfrom should be set to the character set + of the OPAC record part. + + + Specifying the OPAC record character set requires YAZ 4.1.5 or later. + + The format argument controls whether record data should be XML pretty-printed (post process operation).