Simple Machines Community Forum

SMF Development => Bug Reports => Fixed or Bogus Bugs => Topic started by: mktek on September 08, 2016, 01:34:44 PM

Title: Password problem after utf8 converting [bug and solution]
Post by: mktek on September 08, 2016, 01:34:44 PM
Yuppyy.. I am proud of myself. I found a bug. :)

SMF 2.0 (and i think 2.1)

I convert my forum from ISO (Turkish character) to UTF-8 two months ago. Thousands of members have password problems. Especially in the Turkish character members. (e.g. ülkü, çetin, öğretmen, ü ğ ş ç ö, etc.)

I finally solved the problem today. Here is the solution:

forum/sources/LogInOut.php

Select

Code: [Select]
if ($context['character_set'] == 'utf8'
change

Code: [Select]
if ($context['character_set'] == 'UTF-8'

Title: Re: Password problem after utf8 converting [bug and solution]
Post by: skb on September 08, 2016, 10:40:47 PM
I converted from English- US ISO 8859-1 to utf-8, do you think I need to do that, just in case someone has used some special character (though I can't perceive it)
Title: Re: Password problem after utf8 converting [bug and solution]
Post by: margarett on September 09, 2016, 04:53:50 AM
It seems a legit bug indeed. Thank you for the report :)
Title: Re: Password problem after utf8 converting [bug and solution]
Post by: shawnb61 on November 08, 2019, 07:42:55 PM
This was fixed a while back!