万恶的乱码问题
我先用dw做好了页面,然后把代码直接复制到zendstudio中的php文件中,此时中文时显示正常的,但用浏览器浏览时中文字就变成了四方块,然后我就修改了zendstudio中的window下的workpace的默认编码方式,修改成utf8,选好后没有点击apply,直接就点了ok,然后就看到php文件中的中文就变成了下面的形状
$description=$_POST['description'];
$content=$_POST['content'];
$dateline=time();//ȡ��ǰϵͳ��ʱ��
$insertsql="insert into article(title,author,description,content,dateline) values('$title',
'$author','$description','$content',$dateline)";//��Ϊ���һ��Ϊʱ�䣬���üӵ�����
/*
��ִ��֮ǰ���Ƚ���һ�δ�ӡ���ݿ⣬��֤��ƴдд��sql�����ȷ���Ѵ�ӡ�����������ݿ��д���һ�£������Ƿ����ɹ�
echo $insertsql;
*/
//��mysql_query()���������������ݿ�IJ������
if(mysql_query($insertsql)){
echo "<script>
alert('���ͷ����ɹ�');
不知道该怎么办?求大神帮忙