MariaDB / mariadb-docker

Docker Official Image packaging for MariaDB
https://mariadb.org
GNU General Public License v2.0
759 stars 438 forks source link

[documentation] typing special characters in the container shell #468

Closed douglas-legulas closed 1 year ago

douglas-legulas commented 1 year ago

When I'm testing some SQL I often need to paste or type it on the terminal, and by default special characters (such as #, é, ã) will not output correctly unless you start the container with a UTF-8 locale set (e.g. C.UTF-8).

The Ubuntu image, for example, has this documented. We could at least add a reference to it in the README.

grooverdan commented 1 year ago

If you follow the documentation with ENV LANG C.UTF-8, does it make sense to make that the default in the container? Can you think of a downside?

grooverdan commented 1 year ago

What do you think of #470? Does this solve the problem without hunting for documentation?

grooverdan commented 1 year ago

merged. You shoudn't need to do anything special after next release.