diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2021-12-03 14:21:13 +0100 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2021-12-03 15:36:40 +0100 |
commit | dd01f8a94183702f98906913cebebe0a61de3f47 (patch) | |
tree | 4099970a622c22247289f5f734372180ffa765f4 /client/mysqlshow.c | |
parent | 4ac7001728c70dd54204143510992a06f6f1915e (diff) | |
download | mariadb-git-10.8-MDEV-26713.tar.gz |
Adjust console codepage for other utilities working with console10.8-MDEV-26713
Diffstat (limited to 'client/mysqlshow.c')
-rw-r--r-- | client/mysqlshow.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/mysqlshow.c b/client/mysqlshow.c index 9b31d87225c..cbac1817c3c 100644 --- a/client/mysqlshow.c +++ b/client/mysqlshow.c @@ -147,6 +147,7 @@ int main(int argc, char **argv) if (!strcmp(default_charset,MYSQL_AUTODETECT_CHARSET_NAME)) default_charset= (char *)my_default_csname(); + my_set_console_cp(default_charset); mysql_options(&mysql, MYSQL_SET_CHARSET_NAME, default_charset); if (opt_plugin_dir && *opt_plugin_dir) |