projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MARC-8: allow all characters 0x01-0x20 YAZ-650
[yaz-moved-to-github.git]
/
src
/
iconv_decode_marc8.c
diff --git
a/src/iconv_decode_marc8.c
b/src/iconv_decode_marc8.c
index
72970b3
..
86f1246
100644
(file)
--- a/
src/iconv_decode_marc8.c
+++ b/
src/iconv_decode_marc8.c
@@
-172,10
+172,10
@@
static unsigned long yaz_read_marc8_comb(yaz_iconv_t cd,
}
if (inbytesleft == 0)
return 0;
- else if (*inp == ' ')
+ else if (*inp <= ' ')
{
*no_read += 1;
- return ' ';
+ return *inp;
}
else
{