Skip to content

Commit

Permalink
Merge pull request #590 from Skgland/NormalizeMorePunctuation
Browse files Browse the repository at this point in the history
add Greek Question Mark to NormalizePunctuation
  • Loading branch information
tom-englert authored Oct 27, 2023
2 parents 3122c9f + 703f91c commit de9161d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ResXManager.Model/ResourceTableEntryRulePunctuation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,12 @@ private static char NormalizePunctuation(char value)
{
switch ((int)value)
{
case 0x037E: return '?'; // GREEK QUESTION MARK
case 0x055C: return '!'; // ARMENIAN EXCLAMATION MARK
case 0x055D: return ','; // ARMENIAN COMMA
case 0x055E: return '?'; // ARMENIAN QUESTION MARK
case 0x0589: return '.'; // ARMENIAN FULL STOP
case 0x061F: return '?'; // ARABIC QUESTION MARK
case 0x07F8: return ','; // NKO COMMA
case 0x07F9: return '!'; // NKO EXCLAMATION MARK
case 0x1944: return '!'; // LIMBU EXCLAMATION MARK
Expand All @@ -58,7 +60,6 @@ private static char NormalizePunctuation(char value)
case 0xFF1A: return ':'; // FULLWIDTH COLON
case 0xFF1B: return ';'; // FULLWIDTH SEMICOLON
case 0xFF1F: return '?'; // FULLWIDTH QUESTION MARK
case 0x061F: return '?'; // ARABIC QUESTION MARK
default: return value;
}
}
Expand Down

0 comments on commit de9161d

Please sign in to comment.