Simple Machines Community Forum

General Community => Site Comments, Issues and Concerns => Topic started by: agridoc on May 22, 2013, 12:19:42 AM

Title: Improper display of special chars in Simplemachines members and SMF Team pages
Post by: agridoc on May 22, 2013, 12:19:42 AM
I noticed in SMF Team page (http://www.simplemachines.org/about/smf/team.php) that "™" is displayed as "�" in several occasions.

Also in Simple Machines Members page (http://www.simplemachines.org/about/members.php) "戦場ヶ原、蕩れ!" is displayed as "?? ?? - ".

Codepage is UTF-8, maybe some error in string manipulation code?


Title: Re: Improper display of special chars in Simplemachines members and SMF Team pages
Post by: MrPhil on May 22, 2013, 09:46:45 AM
Those "™"s are encoded in Latin-1. I think they're OK displayed in the normal forum (UTF-8), so presumably something went wrong in the code for these particular pages.
Title: Re: Improper display of special chars in Simplemachines members and SMF Team pages
Post by: SA™ on May 22, 2013, 11:28:19 AM
i notice this when using my phone to browse here never noticed it in chrome tho
Title: Re: Improper display of special chars in Simplemachines members and SMF Team pages
Post by: agridoc on May 23, 2013, 01:05:44 AM
It's the same with Chrome. The problem appears in usernames. I suppose the same database members table is used to extract usernames for position or group.

In ISO-ANSI setup a latin-1 database is used and special chars are stored as entities. In UTF-8 setup database, tables and text fields are in utf8_general_ci collation.
Title: Re: Improper display of special chars in Simplemachines members and SMF Team pages
Post by: kat on May 23, 2013, 05:26:23 AM
Same with Opera.