Skip to content

Commit

Permalink
Add some special characters
Browse files Browse the repository at this point in the history
  • Loading branch information
williamjacksn committed Feb 15, 2025
1 parent fed88db commit 9f01125
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions rainwave_library/models/mp3.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
# 'ö': 246,
# 'ú': 250,
# 'ü': 252,
# 'ā': 257,
# 'ş': 351,
# 'ū': 363,
# 'К': 1050,
Expand All @@ -40,7 +41,8 @@
# 'н': 1085,
# 'о': 1086,
# 'с': 1089,
# 'т': 1090
# 'т': 1090,
# 'ṃ': 7747,
# }


Expand All @@ -52,8 +54,8 @@ def make_safe(s: str) -> str:
}
special = dict(
zip(
map(ord, ÉÜàáâãäçèéêíðñóöúüşūКСавеийкмност"),
"2EUaaaaaceeeidnoouusuKSaveijkmnost",
map(ord, ÉÜàáâãäçèéêíðñóöúüāşūКСавеийкмностṃ"),
"2EUaaaaaceeeidnoouuasuKSaveijkmnostm",
)
)
translate_table.update(special)
Expand Down

0 comments on commit 9f01125

Please sign in to comment.