英文和数字没事 中文为什么不行 怎么创建中文的?这样试了也不行$a=iconv("gb2312", "UTF-8", $n).'.txt';
<code>$n='你';$a=$n.'.txt';$fopen=fopen($a,'w');</code>
回复内容:
英文和数字没事 中文为什么不行 怎么创建中文的?这样试了也不行$a=iconv("gb2312", "UTF-8", $n).'.txt';
<code>$n='你';$a=$n.'.txt';$fopen=fopen($a,'w');</code>
<code>$n="你好";$a=$n.'.txt';$a = iconv("UTF-8", "GBK", $a);$fopen=fopen($a,'w');</code>
我这样成功了~
没人.来&源gao@dai!ma.com搞$代^码%网搞gaodaima代码…
居然中文命名,需求太奇葩了吧,最好避免中文,好多问题的.