Skip to content

Commit

Permalink
add missing charsets
Browse files Browse the repository at this point in the history
  • Loading branch information
svang-bf committed Jan 31, 2024
1 parent 548c604 commit 4083c64
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tornado_mysql/charset.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,14 @@ def by_name(self, name):
_charsets.add(Charset(241, 'utf8mb4', 'utf8mb4_esperanto_ci', ''))
_charsets.add(Charset(242, 'utf8mb4', 'utf8mb4_hungarian_ci', ''))
_charsets.add(Charset(243, 'utf8mb4', 'utf8mb4_sinhala_ci', ''))
_charsets.add(Charset(244, 'utf8mb4', 'utf8mb4_german2_ci', ''))
_charsets.add(Charset(245, 'utf8mb4', 'utf8mb4_croatian_ci', ''))
_charsets.add(Charset(246, 'utf8mb4', 'utf8mb4_unicode_520_ci', ''))
_charsets.add(Charset(247, 'utf8mb4', 'utf8mb4_vietnamese_ci', ''))
_charsets.add(Charset(248, 'gb18030', 'gb18030_chinese_ci', 'Yes'))
_charsets.add(Charset(249, 'gb18030', 'gb18030_bin', ''))
_charsets.add(Charset(250, 'gb18030', 'gb18030_unicode_520_ci', ''))
_charsets.add(Charset(255, 'utf8mb4', 'utf8mb4_0900_ai_ci', ''))


charset_by_name = _charsets.by_name
Expand Down

0 comments on commit 4083c64

Please sign in to comment.