-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1 test fails: Illegal byte sequence #60
Comments
Thanks for the report.
Regarding the *Illegal byte sequence* error, is your system encoding UTF-8?
If it is, could you apply the following patch and test again:
```diff
diff --git a/t/system.cc b/t/system.cc
index c5fb89b..134e4c4 100644
--- a/t/system.cc
+++ b/t/system.cc
@@ -3,2 +3,3 @@
+#include <locale.h>
#include <string.h>
@@ -50,2 +51,3 @@ void check_converter()
{
+ setlocale(LC_ALL, "");
is(ot::decode_utf8(ot::encode_utf8("Éphémère")), "Éphémère", "decode_utf8 reverts encode_utf8");
```
The error about List/MoreUtils.pm is a missing dependency error. You need to
install <https://metacpan.org/dist/List-MoreUtils>.
|
Closing for inactivity. |
Hi @fmang , Sorry for the delay. I see that in 1.10.0 you've already applied the above patch. However, the "Illegal byte sequence" error is still present in 1.10.0 Thanks, |
Well, then I am out of clues. I am reopening this issue in case someone more familiar with FreeBSD wishes to solve it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version: 1.8.0
clang-14
FreeBSD 13.1
The text was updated successfully, but these errors were encountered: