mysql, mysqladmin, mysqlshow and mysqlcheck support a command line option --default-character-set=auto, which means to detect character set from the underlying OS settings (e.g. from the current locale on Unix).
mysqldump does not support this options and returns an error:
$ mysqldump --default-character-set=auto
|
mysqldump: Character set 'auto' is not a compiled character set and is not specified in the '/usr/share/mariadb/charsets/Index.xml' file
|
It should be fixed to support "auto", like the other tools do.