fix_script_encoding
Repair corrupted .pwn/.inc files by converting mis-saved UTF-8 Thai text back to correct Windows-874 encoding, restoring garbled characters to readable form.
Instructions
Fix encoding corruption in a .pwn/.inc file. If another AI saved Thai text as UTF-8 (causing garbled characters like ยยกต), this tool converts it back to the correct Windows-874 encoding.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the corrupted file |