X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Futf8.c;h=1d2552b4ea93a39456107ed1daec2375844f41a9;hp=d308645a9f705e6a5a9565b0a0a0d71289d87a7c;hb=8375be590a8640cd5673106bc828dd6d4711be28;hpb=5242cb5a8634bfa38b9333ff7f903e718ac6e292 diff --git a/src/utf8.c b/src/utf8.c index d308645..1d2552b 100644 --- a/src/utf8.c +++ b/src/utf8.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2012 Index Data + * Copyright (C) 1995-2013 Index Data * See the file LICENSE for details. */ /** @@ -38,7 +38,7 @@ static size_t init_utf8(yaz_iconv_t cd, yaz_iconv_decoder_t d, return 0; } -unsigned long yaz_read_UTF8_char(unsigned char *inp, +unsigned long yaz_read_UTF8_char(const unsigned char *inp, size_t inbytesleft, size_t *no_read, int *error) {