-
-
Notifications
You must be signed in to change notification settings - Fork 78
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
Unicode U+2007
character treated as whitespace on macOS
#224
Comments
I've seen this showing up on some people's machine. I suspected it was a locale issue on that machine, not having UTF-8 setup properly. |
I've hit this in CI also, specifically setting the |
Huh okay jeaye is right, I've setup the locale and the tests pass now. https://github.com/elken/jank/actions/runs/13245748321/job/36971725739 Incorrectly assumed the image had set a locale by default, I'll look at the macos side next. |
Yep that fails as expected on macOS, so when I can work out what locale thing needs adjusting I'll update this issue 😄 |
Try this. diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index ae4039a2..1f448f1c 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -51,6 +51,9 @@ jobs:
JANK_SANITIZE: ${{ matrix.sanitize }}
ASAN_OPTIONS: detect_leaks=0
TERM: xterm
+ LC_ALL: en_US.UTF-8
+ LANG: en_US.UTF-8
+ LANGUAGE: en_US.UTF-8
timeout-minutes: 30
steps:
- uses: actions/checkout@v4 If that doesn't work, we may need to do something more with the system's locale. |
Already added that yeah no change, it also should be set locally on macOS proper |
macOS Sequoia 15.2 (Intel)
This test for the keyword
:<U+2007><U+2007>
fails on macOS.The text was updated successfully, but these errors were encountered: