From e7ac544a2f0e6b66c988fe1a8ef95ba2e642e5b5 Mon Sep 17 00:00:00 2001 From: yv01p Date: Fri, 12 Dec 2025 23:42:58 +0000 Subject: [PATCH] fix(strings): correct Cyrillic hard/soft sign mappings to match original behavior MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Cyrillic hard and soft signs (Ъ, ъ, Ь, ь) were incorrectly mapped to empty strings in cyrillic.json. This fix restores the correct mappings from the original Utf8ToAsciiConverter implementation: - Ъ (hard sign uppercase) → " (double quote) - ъ (hard sign lowercase) → " (double quote) - Ь (soft sign uppercase) → ' (single quote) - ь (soft sign lowercase) → ' (single quote) These mappings now match the golden-mappings.json reference file extracted from the original implementation. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- src/Umbraco.Core/Strings/CharacterMappings/cyrillic.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Umbraco.Core/Strings/CharacterMappings/cyrillic.json b/src/Umbraco.Core/Strings/CharacterMappings/cyrillic.json index 4d655cd130..fd9748b8be 100644 --- a/src/Umbraco.Core/Strings/CharacterMappings/cyrillic.json +++ b/src/Umbraco.Core/Strings/CharacterMappings/cyrillic.json @@ -57,12 +57,12 @@ "ш": "sh", "Щ": "Shch", "щ": "shch", - "Ъ": "", - "ъ": "", + "Ъ": "\"", + "ъ": "\"", "Ы": "Y", "ы": "y", - "Ь": "", - "ь": "", + "Ь": "'", + "ь": "'", "Э": "E", "э": "e", "Ю": "Yu",