utf8_write
Write files as UTF-8 without BOM on Windows. Fixes Cursor Write encoding issues by ensuring correct UTF-8 and line endings.
Instructions
Create or overwrite a file as UTF-8 (no BOM). Use instead of Cursor Write on Windows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the file | |
| newline | No | Line ending style (default: auto) | |
| contents | Yes | Full file contents |