Improper display of special chars in Simplemachines members and SMF Team pages

Started by agridoc, May 22, 2013, 12:19:42 AM

Previous topic - Next topic

agridoc

I noticed in SMF Team page that "™" is displayed as "�" in several occasions.

Also in Simple Machines Members page "戦場ヶ原、蕩れ!" is displayed as "?? ?? - ".

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


  For Greek aeromodellers and our friends around the world  - Greek Button sets for SMF - Greeklish to Greek mod
Δeν αφιερώνω χρόνο για μηνύματα σε greeklish.

MrPhil

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.

SA™

i notice this when using my phone to browse here never noticed it in chrome tho
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

agridoc

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.
  For Greek aeromodellers and our friends around the world  - Greek Button sets for SMF - Greeklish to Greek mod
Δeν αφιερώνω χρόνο για μηνύματα σε greeklish.


Advertisement: