Run biome lint on a repo where I have Arabic text, I get the following error:
Biome encountered an unexpected error
This is a bug in Biome, not an error in your code, and we would appreciate it if you could report it to https://github.com/biomejs/biome/issues/ along with the following information to help us fixing the issue:
Source Location: crates/biome_js_factory/src/utils.rs:34:36
Thread Name: biome::worker_7
Message: byte index 1 is not a char boundary; it is inside 'Ω' (bytes 0..2) of `ΩΨ°Ψ§ Ψ§ΩΩ ΩΩ ΨΊΩΨ± Ω ΨͺΩΩΨΉ `
./src/middlewares/errorHandler.ts internalError/panic INTERNAL βββββββββββββββββββββββββββββββββββ
β processing panicked: byte index 1 is not a char boundary; it is inside 'Ω' (bytes 0..2) of `ΩΨ°Ψ§ Ψ§ΩΩ ΩΩ ΨΊΩΨ± Ω ΨͺΩΩΨΉ `
β This diagnostic was derived from an internal Biome error. Potential bug, please report it if necessary.
Checked 36 files in 9ms. No fixes applied.
I also got these crashing messages from vscode:
Client Biome: connection to server is erroring. Shutting down server (srouce: biome).
Environment information
What happened?
biome lint
on a repo where I have Arabic text, I get the following error:I also got these crashing messages from vscode:
Expected result
biome
should handle Arabic text and work correctly.Code of Conduct