search for: iyoshi

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

Did you mean: yoshi
2020 Jun 26
2
Error in substring: invalid multibyte string
Hi all, I'm getting the following error from substring: > substr("<I>Jens Oehlschl\xe4gel-Akiyoshi", 1, 100) Error in substr("<I>Jens Oehlschl\xe4gel-Akiyoshi", 1, 100) : invalid multibyte string at '<e4>gel-A<6b>iyoshi' Is that normal / intended? I've tried setting the Encoding/locale to Latin-1/UTF-8 but that does not help. nchar gives me somethi...
2020 Jun 27
1
Error in substring: invalid multibyte string
...that if one of them errors because of an unknown encoding then the other should as well. Even better, if regexpr works, why shouldn't substr work as well? Incidentally the analogous stringi function stri_sub works fine in this case: > stringi::stri_sub("<I>Jens Oehlschl\xe4gel-Akiyoshi", 1, 100) [1] "<I>Jens Oehlschl\xe4gel-Akiyoshi" But the stringi analog to nchar gives a similar warning: > stringi::stri_length("<I>Jens Oehlschl\xe4gel-Akiyoshi") [1] NA Warning message: In stringi::stri_length("<I>Jens Oehlschl\xe4gel-Akiyoshi...
2020 Jun 27
0
Error in substring: invalid multibyte string
On Fri, 26 Jun 2020 15:57:06 -0700 Toby Hocking <tdhock5 at gmail.com> wrote: >invalid multibyte string at '<e4>gel-A<6b>iyoshi' >https://stat.ethz.ch/pipermail/r-devel/1999-November/author.html The server says that the text is UTF-8: curl -sI \ https://stat.ethz.ch/pipermail/r-devel/1999-November/author.html | \ grep Content-Type # Content-Type: text/html; charset=UTF-8 But it's not, at least not all of it...