X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Futf8.c;h=0a1ccb37e59aa069404e8f2e85ca8ce60ecf4827;hb=7fc0a649c80cade7f443c6deb552e1907be9af22;hp=fcff6cd0fef28f7d022fba7c6bb29427abd1e277;hpb=0c46d2e66bdeea1600e700124a81a5d0a65d349e;p=yaz-moved-to-github.git diff --git a/src/utf8.c b/src/utf8.c index fcff6cd..0a1ccb3 100644 --- a/src/utf8.c +++ b/src/utf8.c @@ -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. */ /** @@ -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) {