Skip to content

Thai Language Formatting Issue #3463

Open
Open
@mahirocoko

Description

@mahirocoko

I am experiencing an issue with the Biome-Zed plugin where Thai language text is not being formatted correctly. Specifically, the word "หน้าหลัก" is being changed to "หนาหลก". This is causing readability issues for Thai users.

Steps to Reproduce

  • Type "หน้าหลัก".
  • After formatting, the text changes to "หนาหลก".

Expected Behavior
The text "หน้าหลัก" should remain as it is and not be altered to "หนาหลก".

Actual Behavior
The text "หน้าหลัก" is incorrectly formatted to "หนาหลก".

Environment
Biome-Zed Version: [0.143.7]
Operating System: [macOS with M1 chip]

My Setting

{
  "format_on_save": "on",
  "lsp": {
    "biome": {
      "settings": {
        "require_config_file": true
      }
    }
  },
  "formatter": {
    "external": {
      "command": "./node_modules/@biomejs/biome/bin/biome",
      "arguments": ["format", "--write", "--stdin-file-path", "{buffer_path}"]
    }
  },
  "code_actions_on_format": {
    "source.fixAll.biome": true,
    "source.organizeImports.biome": true
  }
}
349785754-be501ca7-b15c-480b-91b4-ae9719f4b9a4.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-CLIArea: CLIA-FormatterArea: formatterS-Bug-confirmedStatus: report has been confirmed as a valid bug

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions