Fix yaz-marcdump segfault YAZ-801
[yaz-moved-to-github.git] / src / iconv_encode_danmarc.c
index 467008a..bc7d62a 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2013 Index Data
+ * Copyright (C) Index Data
  * See the file LICENSE for details.
  */
 /**
@@ -25,7 +25,7 @@ static size_t write_danmarc(yaz_iconv_t cd, yaz_iconv_encoder_t en,
 {
     unsigned char *outp = (unsigned char *) *outbuf;
 
-    if (x == '@' || x == '*' || x == 0xa4)
+    if (x == '@' || x == '*')
     {
         if (*outbytesleft < 2)
         {