I have created users table.
CREATE TABLE `users` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`username` varchar(255),
`email` varchar(255),
`hashed_password` varchar(255) NOT NULL,
`user_avator` varchar(2000) NOT NUL,
`avator_type` VARCHAR(10) DEFAULT 'monsterid',
`date` DATE NOT NULL,
`time` TIME NOT NULL,
PRIMARY KEY (`id`)
);
Then I created a new account front end web page.
I gave :
username : ᵀᴹ°᭄ᴀɢᴇɴᴛ乂ᴀʀᴍʏ
Account was created successfully.
Now I can login by my username and password. Then I can clearly see my username as ᵀᴹ°᭄ᴀɢᴇɴᴛ乂ᴀʀᴍʏ in web-page.
But when I run sql query in terminal :
select username from users;
I got as output :
+------------------------------------------------------------------------------------+
| username |
+-----------------------------------Ê |-+
+------------------------------------------------------------------------------------+
I can't able to see my username as ᵀᴹ°᭄ᴀɢᴇɴᴛ乂ᴀʀᴍʏ. But I can login by web-page.
Why am I not able to see my username in query output?
UPDATE
Some users are saying that there is a problem in my terminal encoding..
To test this I run echo 'ᵀᴹ°᭄ᴀɢᴇɴᴛ乂ᴀʀᴍʏ'
.
Output is ᵀᴹ°᭄ᴀɢᴇɴᴛ乂ᴀʀᴍʏ
So I guess there is no problem with the encoding in terminal.