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

Home » FUDforum Development » Bug Reports » message editor problem
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: message editor problem [message #4698 is a reply to message #4536] Sat, 03 August 2002 05:09 Go to previous messageGo to previous message
ezdb is currently offline  ezdb   China
Messages: 158
Registered: May 2002
Location: china
Karma:
Senior Member

i test the follow code ,it hasn't chinese problem

but i am not sure whether it come up to your code?


$data = filetomem($msgfile);
		preg_match_all('/(.+?):(\s*)(.+?)\n/s', $data, $regs, PREG_SET_ORDER);
		$fdata = '';
		foreach($regs as $v) { 
$temp=str_replace("\\","",$HTTP_POST_VARS[$v[1]]);
			$nval = str_replace("\n", '\n', $temp);
			if ( isset($HTTP_POST_VARS[$v[1]]) && $v[3] != $nval ) {
				if ( !isset($clist[$v[1]]) ) $clist[$v[1]] = 1;
				$fdata .= $v[1].':'.$v[2].$nval."\n";
							}
			else 
				$fdata .= $v[0];
		}


[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Newsgroup importing
Next Topic: user profile themes do not automatically update
Goto Forum:
  

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

Current Time: Sat Nov 23 11:27:41 GMT 2024

Total time taken to generate the page: 0.04134 seconds