Points of Required Attention™
Please chime in on a proposed restructuring of the ROM hacking sections.
Views: 88,512,497
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search 05-02-24 12:47 PM
Guest: Register | Login

0 users currently in Help/Suggestions/Bug Reports | 2 guests | 1 bot

Main - Help/Suggestions/Bug Reports - Character encoding problem New thread | New reply


Cellar Dweller
Posted on 06-30-08 11:41 PM Link | Quote | ID: 86392


Snifit
Level: 39

Posts: 126/287
EXP: 385373
Next: 19398

Since: 02-19-07
From: Arkansas

Last post: 4058 days
Last view: 3225 days

Recently, the character encoding for this board has become unset. I distinctly remember it being set to UTF-8, but recently there has been no encoding set in the HTTP headers or meta tags. This is a time sensitive problem, because form data is submitted in the same encoding as the page by default, and content in multiple encodings will begin to accumulate in the database. As the above picture taken from Kawa's thread list shows, this is beginning to happen.

According to http://www.phpwact.org/php/i18n/charsets, the best resolution is probably to set the encoding in a Content-Type header. In the case of this board, the line
header('Content-Type: text/html; charset=utf-8');
might go near the top of the "pageheader" function. After that, non UTF-8 content could be manually fixed.

Arbe
Posted on 07-01-08 03:15 AM Link | Quote | ID: 86411

go away
Level: 86

Posts: 966/1788
EXP: 5990241
Next: 151866

Since: 02-23-07

Last post: 4975 days
Last view: 1544 days
I had the same problem here, actually, whilst reading some IRC quotes. It's not a hard fix, but, I didn't realize it had affected other users. :\

Main - Help/Suggestions/Bug Reports - Character encoding problem New thread | New reply

Acmlmboard 2.1+4δ (2023-01-15)
© 2005-2023 Acmlm, blackhole89, Xkeeper et al.

Page rendered in 0.018 seconds. (323KB of memory used)
MySQL - queries: 37, rows: 48/48, time: 0.015 seconds.