Menu

#2 'iso-8859-1' hardcoding.

open
nobody
None
5
2007-10-28
2007-10-28
Stas Fomin
No

Please, replace all "hardcoded charset"
to charset customizeable by variable or constant.

T.i. lines like this:
header('Content-type: text/html; charset=iso-8859-1');

In files
competition\select_round.php
competition\select_round_all_details.php
competition\select_round_details.php
member\select_member.php
team\select_team_club.php

replace by something like this:
header("Content-type: text/html; charset=$CHARSET");

or
header("Content-type: text/html; charset=utf-8");

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.