Skip to content

Add Copilot encoding instructions banning non-ASCII/emoji characters#282

Draft
Copilot wants to merge 3 commits intomainfrom
copilot/add-copilot-instruction-banning-unicode
Draft

Add Copilot encoding instructions banning non-ASCII/emoji characters#282
Copilot wants to merge 3 commits intomainfrom
copilot/add-copilot-instruction-banning-unicode

Conversation

Copy link
Contributor

Copilot AI commented Mar 13, 2026

PR #227 (Windows native support) replaced 100+ Unicode/emoji characters across 38 files to fix cp1252 codec errors on Windows. Without guardrails, AI-assisted code will keep reintroducing them.

Changes

  • .github/copilot-instructions.md — added cross-platform encoding rule: printable ASCII only, bracket notation for status symbols

  • .github/instructions/encoding.instructions.md (new, applyTo: "**") — dedicated encoding constraint doc covering what to avoid, why (Windows cp1252 UnicodeEncodeError), and the canonical symbol table:

    Symbol Meaning
    [+] success / confirmed
    [!] warning
    [x] error
    [i] info
    [*] action / processing
    [>] running / progress
  • .github/instructions/cli.instructions.md — replaced all emoji STATUS_SYMBOLS references (✨🚀⚙️💡⚠️❌✅) with ASCII bracket equivalents; removed emoji from help text conventions, code examples, and documentation standards

Type of change

  • Bug fix
  • New feature
  • Documentation
  • Maintenance / refactor

Testing

  • Tested locally
  • All existing tests pass
  • Added tests for new functionality (if applicable)

📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.

…racters

Co-authored-by: danielmeppiel <51440732+danielmeppiel@users.noreply.github.com>
Copilot AI changed the title [WIP] [FEATURE] Add Copilot instruction banning non-cp1252 Unicode characters Add Copilot encoding instructions banning non-ASCII/emoji characters Mar 13, 2026
Copilot AI requested a review from danielmeppiel March 13, 2026 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Add Copilot instruction banning non-cp1252 Unicode characters

2 participants