Skip to content

fix: utf8 on windows#35

Merged
florian-lefebvre merged 5 commits into
mainfrom
fix/windows-utf8
May 27, 2026
Merged

fix: utf8 on windows#35
florian-lefebvre merged 5 commits into
mainfrom
fix/windows-utf8

Conversation

@florian-lefebvre
Copy link
Copy Markdown
Collaborator

@florian-lefebvre florian-lefebvre commented May 26, 2026

Changes

Fixes #34. Commands were provided by AI but I adapted and tested the code.

Testing

CI does not fail on windows for utf8 chars, it needs to be checked manually. I checked manually on Windows 11 (no WSL) and it worked

Comment thread src/index.ts
import {spawn} from 'node:child_process';

const TIMEOUT = 2000;
const TIMEOUT = 3000;
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While testing, I found powershell can take some time to init for the first call so I bumped this a bit. Maybe we could bump it to 5s to make sure it always has time to load, in most cases it should not take that much time anyways

@florian-lefebvre florian-lefebvre marked this pull request as ready for review May 26, 2026 08:25
@florian-lefebvre florian-lefebvre requested a review from 43081j May 26, 2026 08:25
Comment thread src/index.ts
@florian-lefebvre florian-lefebvre merged commit e60acd2 into main May 27, 2026
7 checks passed
@florian-lefebvre florian-lefebvre deleted the fix/windows-utf8 branch May 27, 2026 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Problem with some UTF-8 characters

2 participants