Skip to content

Commit

Permalink
[helpers\charset]: add vietnamese support
Browse files Browse the repository at this point in the history
  • Loading branch information
RickBarretto committed Sep 7, 2023
1 parent be57282 commit 85145d6
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/helpers/charsets.nim
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ const
"sw": "abcdefghijklmnoprstuvwyz",
"tl": "abcdefghijklmnñ%opqrstuvwxyz",
"tr": "abcçdefgğhıijklmnoöprsştuüvyz",
"uk": "абвгґдеєжзиіїйклмнопрстуфхцчшщьюя"
"uk": "абвгґдеєжзиіїйклмнопрстуфхцчшщьюя",
"vi": "aăâbcdđeêghiklmnoôơprtuưvxy",
}.toTable

# extra characters that can be found in a given language, by ISO 639-1 code,
Expand All @@ -96,7 +97,8 @@ const
"it": "àéèíìîóòúù",
"pt": "áàâãäçéêëíïóõöúü",
"ru": "а́е́и́о́у́э́",
"sl": "áȃȁćđéèȇẹ́ẹ̑ȅíȋȉóȏọ́ọ̑ȍqŕȓúȗȕwxy"
"sl": "áȃȁćđéèȇẹ́ẹ̑ȅíȋȉóȏọ́ọ̑ȍqŕȓúȗȕwxy",
"vi": "áắấàằầảẳẩãẵẫạặậéếèềẻểẽễẹệíìỉĩịóốớòồờỏổởõỗỡọộợúứùừủửũữụựýỳỷỹỵ",
}.toTable

# di- or tri-graphs that can be found in a given language, by ISO 639-1 code,
Expand All @@ -110,7 +112,8 @@ const
"mt": "għ,ie",
"sk": "dz,dž,ch",
"sq": "dh,gj,ll,nj,rr,sh,th,xh,zh",
"tl": "ng"
"tl": "ng",
"vi": "gi,kh,ng,nh,ph,qu,th,tr,"
}.toTable

#=======================================
Expand Down

0 comments on commit 85145d6

Please sign in to comment.