i want to check username if taken, but eloquent is running weird for me... In my database, only one user is registered, username is yigitabi
when i try to get user where username is yigitabi it returns the row but when i try to get user where username is yiğitabi it returns same row...
i have tried querylog and my two query logs are here...
array(1) { [0]=> array(3) { ["query"]=> string(42) "select * from `users` where `username` = ?" ["bindings"]=> array(1) { [0]=> string(9) "yiğitabi" } ["time"]=> float(0.24) } }
array(1) { [0]=> array(3) { ["query"]=> string(42) "select * from `users` where `username` = ?" ["bindings"]=> array(1) { [0]=> string(9) "yigitabi" } ["time"]=> float(0.24) } }
How can i fix this situation?
utf_8_bin.