FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » No charset befor DISABLED_REASON
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
No charset befor DISABLED_REASON [message #30276] Wed, 15 February 2006 09:40 Go to previous message
rhinofly is currently offline  rhinofly   China
Messages: 15
Registered: August 2004
Karma:
Junior Member
Because no charset specify for the html page befor echo DISABLED_REASON,when administrator specify a No-english massage as the DISABLED_REASON,the browser will just display the page in ISO-8859-15 and no one can read the massage.

I just modify the code to echo MY OWN charset,may be there is a better way to do it.

	/* before we go on, we need to do some very basic activation checks */
	if (!($FUD_OPT_1 & 1)) {
		//rhinofly
		header("Content-type: text/html; charset=UTF-8");
		fud_use('errmsg.inc');
		exit($DISABLED_REASON . __fud_ecore_adm_login_msg);
	}

[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Invisible subcategory
Next Topic: Online users not in real time
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 10:53:00 GMT 2024

Total time taken to generate the page: 0.05677 seconds