Re: [R-pkg-devel] Warning... unable to translate 'Ekstrm' to a wide string; Error... input string 1 is invalid

2022-07-19 Thread Spencer Graves
Hi, Ivan et al.: On 7/19/22 1:03 PM, Ivan Krylov wrote: On Tue, 19 Jul 2022 12:32:20 -0500 Spencer Graves wrote: Can someone provide me with a link to the correct development version of help('iconv')? The current version includes the exact offending "\x" strings that I have.

Re: [R-pkg-devel] Warning... unable to translate 'Ekstrm' to a wide string; Error... input string 1 is invalid

2022-07-19 Thread Ivan Krylov
On Tue, 19 Jul 2022 12:32:20 -0500 Spencer Graves wrote: > Can someone provide me with a link to the correct development > version of help('iconv')? The current version includes the exact > offending "\x" strings that I have. http://svn.r-project.org/R/trunk/src/library/base/man/iconv.Rd

Re: [R-pkg-devel] Warning... unable to translate 'Ekstrm' to a wide string; Error... input string 1 is invalid

2022-07-19 Thread Ben Bolker
 The help pages are at https://github.com/wch/r-source/blob/trunk/src/library/base/man/iconv.Rd or the equivalent at https://github.com/r-devel/r-svn or https://svn.r-project.org/R/trunk/src/library/base/man/iconv.Rd   they still have \x examples in them, but maybe the use of \x is not

Re: [R-pkg-devel] Warning... unable to translate 'Ekstrm' to a wide string; Error... input string 1 is invalid

2022-07-19 Thread Bill Dunlap
Have you tried changing the \x's in that file with \u's? > qx <- c("\xf6", "\xf8", "\xdf", "\xfc") > Encoding(qx) <- "latin1" > qu <- c("\uf6", "\uf8", "\udf", "\ufc") > Encoding(qu) [1] "UTF-8" "UTF-8" "UTF-8" "UTF-8" > qx == qu [1] TRUE TRUE TRUE TRUE (charToRaw shows that qu and qx are not