Don't assume from="UTF-8" in encoding test - #7852
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #7852 +/- ##
=======================================
Coverage 99.01% 99.01%
=======================================
Files 88 88
Lines 17286 17286
=======================================
Hits 17116 17116
Misses 170 170 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
967c907 to
bc3038c
Compare
f6f8144 to
9c1949e
Compare
|
Here, the test is being overly pessimistic. If the native encoding is capable of representing all the needed characters, it should be possible for the test to pass. This looks extremely counter-intuitive. |
|
makes sense... maybe utf8_check() isn't the perfect name for the helper? I'm still wondering why this is only an issue for ancient windows |
|
True, the check is more like Almost everywhere else except on old R or old Windows the locale encoding is UTF-8, so |
9c1949e to
c767771
Compare
bc3038c to
746082f
Compare
f3bde87 to
4e1c8ba
Compare
2eedafe to
e737a46
Compare
40bd8d6 to
a0a8500
Compare
e737a46 to
5dfffbe
Compare
5dfffbe to
9888866
Compare
a0a8500 to
8fe3782
Compare
For #7217 (possibly closing it?). As described by Ivan below.