Thanks to visit codestin.com
Credit goes to github.com

Skip to content

MySQL Supported Encoding

Ohad Shai edited this page Apr 22, 2019 · 1 revision

Out-of-the-box jasync supported those types of encoding:

  • UTF_8
  • US_ASCII
  • ISO_8859_1

The default one is UTF_8.

In version 0.9.50 the encoding used for UTF-8 was changed from utf8mb3 to utf8mb4_unicode_ci. Effectively, it allows passing UTF chars of up to 4 bytes, Including emoji's.

In case you would like to use other charsets there are 2 options:

For more details you can see the PR: https://github.com/jasync-sql/jasync-sql/pull/115

List of unicode charsets can be seen here: https://dev.mysql.com/doc/refman/8.0/en/charset-mysql.html

Clone this wiki locally