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 encoding: never pass through ESC
[yaz-moved-to-github.git]
/
src
/
iconv_encode_marc8.c
diff --git
a/src/iconv_encode_marc8.c
b/src/iconv_encode_marc8.c
index
cfdd1be
..
e05874f
100644
(file)
--- a/
src/iconv_encode_marc8.c
+++ b/
src/iconv_encode_marc8.c
@@
-72,7
+72,7
@@
static unsigned long lookup_marc8(yaz_iconv_t cd,
size_t utf8_outbytesleft = sizeof(utf8_buf)-1, r;
int error_code;
size_t utf8_outbytesleft = sizeof(utf8_buf)-1, r;
int error_code;
- if (x <= ' ')
+ if (x <= ' ' && x != 27)
{
*page_chr = ESC "(B";
return x;
{
*page_chr = ESC "(B";
return x;