RemoveUnicodeCharacters: expand built-in replacement defaults#281
Open
niksedk wants to merge 1 commit into
Open
RemoveUnicodeCharacters: expand built-in replacement defaults#281niksedk wants to merge 1 commit into
niksedk wants to merge 1 commit into
Conversation
Grow the seed map from the original 2 entries (music ♪♫ -> #) to 41 covering smart quotes, the full dash family, ellipsis variants, music note heads, all wide/narrow space variants, and zero-width / BOM characters. These are cases where the ASCII mapping is essentially lossless or matches universal ANSI-export practice. Debatable cases (bullets, arrows, math, trademark, music accidentals) are deliberately left blank so the user picks per row in the UI. Extract the dictionary into its own UnicodeDefaults.cs to keep MainWindow.axaml.cs readable. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
RemoveUnicodeCharactersplugin from 2 entries (♪/♫→#) to 41.UnicodeDefaults.cssoMainWindow.axaml.csstays focused on UI/apply logic.Categories added
“ ” „ ‟)"‘ ’ ‛) + low-9 (‚)'/,‐ ‑ ‒ – — ― −)-․ ‥ …)./../...♩ ♪ ♫ ♬)#Deliberately not defaulted (debatable, left blank so the user picks per row): bullets
• ‣, arrows→ ← ↑ ↓, math≤ ≥ ≠, trademarks™ ℗ ℠, music accidentals♭ ♮ ♯.Test plan
🤖 Generated with Claude Code