mycli icon indicating copy to clipboard operation
mycli copied to clipboard

How to set mycli character encoding set?

Open ICLXL opened this issue 5 years ago • 1 comments

I get the data in my mysql server cli normally, but the data through mycli is garbled.

ICLXL avatar Nov 16 '20 06:11 ICLXL

Hi!

Currently the best way is to set

[client]
default-character-set = utf8mb4

in ~/.my.cnf.

But in #915, @seamile is also working on a --charset CLI option to change the character set for individual connections.

rolandwalker avatar Jan 07 '21 21:01 rolandwalker