Forum Moderators: coopster
charset UTF-8; [client]
default-character-set=utf8
[mysqld]
character-set-server=utf8
collation-server=utf8_general_ci
init-connect='SET NAMES utf8' mbstring.language = Neutral
mbstring.internal_encoding = UTF-8
mbstring.encoding_translation = On
mbstring.http_input = auto
mbstring.http_output = UTF-8
mbstring.detect_order = auto
mbstring.substitute_character = none
default_charset = UTF-8 +--------------------------+----------------------------+
| Variable_name | Value |
+--------------------------+----------------------------+
| character_set_client | utf8 |
| character_set_connection | utf8 |
| character_set_database | utf8 |
| character_set_filesystem | binary |
| character_set_results | utf8 |
| character_set_server | utf8 |
| character_set_system | utf8 |
| character_sets_dir | /usr/share/mysql/charsets/ | So there's no encoding/unencoding going on in the display.
When I enter Cuarón into Adminer/phpmyadmin they both show Cuarón but the mysql command line shows Cuarón too. So there's no encoding/unencoding going on in the display. It's passing it straight through.
So it appears both programs are encoding UTF-8 into Latin1 when you enter them but leaving it alone when you display.
"When I enter {o-acute} into Adminer/phpmyadmin they both show {A-tilde 3super} but the mysql command line shows {A-tilde 3super} too."