Skip to content

Commit

Permalink
Merge pull request #75234 from achpile/remove_accent
Browse files Browse the repository at this point in the history
Added Russian "ё" to remove_accent function
  • Loading branch information
Maleclypse authored Jul 28, 2024
2 parents 67026ae + 200504f commit 14844ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/unicode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ void remove_accent( char32_t &ch )
{U'o', {U'ó', U'ô', U'ö', U'ò', U'õ', U'ō'}},
{U'u', {U'ú', U'û', U'ü', U'ù', U'ū'}},
{U'n', {U'ñ', U'ń'}},
{U'c', {U'ć', U'ç', U'č'}}
{U'c', {U'ć', U'ç', U'č'}},
{U'е', {U'ё'}}
};

static std::map<char32_t, char32_t> lookup_table;
Expand Down

0 comments on commit 14844ab

Please sign in to comment.