[Rejected] Cannot login to account with non English chars
#1
We can create account with diacritic marks for example
Łukasz
or
żółć
But we can't login to this account using that login
You have entered an invalid username/password combination. 

Reproduce:
Create account with
Łukasz
username
Try to login.
Reply
#2
Did your password also include non-Latin characters?
Reply
#3
No, password contains only Latin chars.
Reply
#4
It has to be related to character encoding. Sometimes there are multiple ways of encoding the same character. As an example, Unicode includes precomposed characters for many Latin-based characters, but these same values can be generated using combining characters and a base character (combining cedilla + c = ç). The solution is to somehow normalize them.
Reply
#5
Out of interest, what character encoding is the database table (mybb_users) using @Matslom?
Reply
#6
I tested with MyBB 1.8.10 and it worked fine.

@Matslom can you ensure that mb_string extension is enabled for PHP?
[retired]
Reply
#7
Yep, actually I didn't have enabled mbstring extension.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)