'5' && CHARSET != 'utf-8') { $kws[] = diconv(trim($valuearray['value']), 'utf-8'); } else { $kws[] = trim($valuearray['value']); } } } $return = ''; if($kws) { foreach($kws as $kw) { $kw = dhtmlspecialchars($kw); $return .= $kw.' '; } $return = trim($return); } showmessage($return, '', array(), array('msgtype' => 3, 'handle' => false)); } else { showmessage(' ', '', array(), array('msgtype' => 3, 'handle' => false)); } ?>