projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f60c0db
)
Charset ISO5428:1984 is an alias for ISO5428-1984.
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 30 May 2007 08:22:03 +0000
(08:22 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 30 May 2007 08:22:03 +0000
(08:22 +0000)
NEWS
patch
|
blob
|
history
src/siconv.c
patch
|
blob
|
history
diff --git
a/NEWS
b/NEWS
index
aec80d1
..
ce8607f
100644
(file)
--- a/
NEWS
+++ b/
NEWS
@@
-1,3
+1,5
@@
+Charset ISO5428:1984 is an alias for ISO5428-1984.
+
Implemented a way to perform scan in a result set using Z39.50. This
is achieved by attaching the result set name in the characterInfo
(type InternationalString) of OtherInformation in the Scan Request PDU.
Implemented a way to perform scan in a result set using Z39.50. This
is achieved by attaching the result set name in the characterInfo
(type InternationalString) of OtherInformation in the Scan Request PDU.
diff --git
a/src/siconv.c
b/src/siconv.c
index
1420e78
..
d2b78be
100644
(file)
--- a/
src/siconv.c
+++ b/
src/siconv.c
@@
-2,7
+2,7
@@
* Copyright (C) 1995-2007, Index Data ApS
* See the file LICENSE for details.
*
* Copyright (C) 1995-2007, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: siconv.c,v 1.41 2007-05-23 08:50:11 adam Exp $
+ * $Id: siconv.c,v 1.42 2007-05-30 08:22:03 adam Exp $
*/
/**
* \file siconv.c
*/
/**
* \file siconv.c
@@
-1718,6
+1718,8
@@
yaz_iconv_t yaz_iconv_open (const char *tocode, const char *fromcode)
cd->read_handle = yaz_read_advancegreek;
else if (!yaz_matchstr(fromcode, "iso54281984"))
cd->read_handle = yaz_read_iso5428_1984;
cd->read_handle = yaz_read_advancegreek;
else if (!yaz_matchstr(fromcode, "iso54281984"))
cd->read_handle = yaz_read_iso5428_1984;
+ else if (!yaz_matchstr(fromcode, "iso5428:1984"))
+ cd->read_handle = yaz_read_iso5428_1984;
#if HAVE_WCHAR_H
else if (!yaz_matchstr(fromcode, "WCHAR_T"))
cd->read_handle = yaz_read_wchar_t;
#if HAVE_WCHAR_H
else if (!yaz_matchstr(fromcode, "WCHAR_T"))
cd->read_handle = yaz_read_wchar_t;
@@
-1752,6
+1754,10
@@
yaz_iconv_t yaz_iconv_open (const char *tocode, const char *fromcode)
{
cd->write_handle = yaz_write_iso5428_1984;
}
{
cd->write_handle = yaz_write_iso5428_1984;
}
+ else if (!yaz_matchstr(tocode, "iso5428:1984"))
+ {
+ cd->write_handle = yaz_write_iso5428_1984;
+ }
#if HAVE_WCHAR_H
else if (!yaz_matchstr(tocode, "WCHAR_T"))
cd->write_handle = yaz_write_wchar_t;
#if HAVE_WCHAR_H
else if (!yaz_matchstr(tocode, "WCHAR_T"))
cd->write_handle = yaz_write_wchar_t;