search for: pcre_valid_utf8

Displaying 3 results from an estimated 3 matches for "pcre_valid_utf8".

2013 Sep 09
2
Invalid UTF-8 with gsub(perl=TRUE) and iconv(sub="")
...input string 1 is invalid UTF-8 The error message in the second command seems to come from src/main/grep.c:1640 (in do_gsub): if (!utf8Valid(s)) error(("input string %d is invalid UTF-8"), i+1); utf8Valid() relies on valid_utf8() from PCRE, whose behavior is described in src/extra/pcre/pcre_valid_utf8.c. Even more problematic/interesting is the fact that iconv() does not consider the above character as invalid, as it does not replace it when using the sub argument. > iconv("a\U3e3965", sub="") [1] "a\U003e3965" On the contrary, an invalid sequence such as \x...
2008 Dec 22
1
Error compiling R.2.8.1 with gcc 4.4 on Mac OS 10.5.6
...making pcre_newline.d from pcre_newline.c making pcre_ord2utf8.d from pcre_ord2utf8.c making pcre_refcount.d from pcre_refcount.c making pcre_study.d from pcre_study.c making pcre_tables.d from pcre_tables.c making pcre_try_flipped.d from pcre_try_flipped.c making pcre_ucd.d from pcre_ucd.c making pcre_valid_utf8.d from pcre_valid_utf8.c making pcre_version.d from pcre_version.c making pcre_xclass.d from pcre_xclass.c gcc -std=gnu99 -I. -I. -I../../../src/include -I../../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fPIC -g -O2 -c pcre_chartables.c -o pcre_chartables.o gcc -std=gnu99 -I. -I. -I.....
2008 Dec 29
0
Serial Correlation Test for Short Time Series
...making pcre_newline.d from pcre_newline.c making pcre_ord2utf8.d from pcre_ord2utf8.c making pcre_refcount.d from pcre_refcount.c making pcre_study.d from pcre_study.c making pcre_tables.d from pcre_tables.c making pcre_try_flipped.d from pcre_try_flipped.c making pcre_ucd.d from pcre_ucd.c making pcre_valid_utf8.d from pcre_valid_utf8.c making pcre_version.d from pcre_version.c making pcre_xclass.d from pcre_xclass.c gcc -std=gnu99 -I. -I. -I../../../src/include -I../../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fPIC -g -O2 -c pcre_chartables.c -o pcre_chartables.o gcc -std=gnu99 -I. -I. -I.....