This PR simply reintroduces the R function removed in 7d274dec5989d73106fe29031d40188128b92348 -- by using it as a fallback when the fast C++ solution fails due to encoding issues. A much more elegant fix would be highly appreciated, but decided to give it a try to resolve #296, #280 and #319 -- please test!
This PR simply reintroduces the R function removed in 7d274dec5989d73106fe29031d40188128b92348 -- by using it as a fallback when the fast C++ solution fails due to encoding issues. A much more elegant fix would be highly appreciated, but decided to give it a try to resolve #296, #280 and #319 -- please test!