powershell-utf8-fixer

Community

Fix PowerShell encoding for non-ASCII text.

AuthorMineru98
Version1.0.0
Installs0

System Documentation

What problem does it solve?

PowerShell scripts saved without UTF-8 BOM can render non-ASCII characters (Korean, Chinese, Japanese, emoji) incorrectly, causing garbled output and maintenance headaches.

Core Features & Use Cases

  • Detects whether .ps1 files are encoded with UTF-8 BOM, UTF-8 without BOM, or UTF-16 and reports findings.
  • Automatically adds UTF-8 BOM to files lacking it, preserving content.
  • Recursively processes directories of PowerShell scripts to ensure encoding consistency across a project.
  • Suitable for new script creation, CI pipelines, and pre-commit checks to prevent encoding-related issues.

Quick Start

Run the fixer on your PowerShell project to ensure all .ps1 files have UTF-8 BOM.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: powershell-utf8-fixer
Download link: https://github.com/Mineru98/skills-store/archive/main.zip#powershell-utf8-fixer

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.