mkdir无法使用php进行unicode [英] mkdir failing for php for unicode

查看:117
本文介绍了mkdir无法使用php进行unicode的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试通过以下路径通过mkdir创建目录:

I am trying to make a directory via mkdir through following path:

if(FALSE == mkdir($mystring))
{
    mkdir('false');
}





$ mystring的内容是Debghosh(它是unicode)

同样的问题: http://stackoverflow.com/questions/11703711/ php-mkdir-in-hebrew-creates-gibrish-folder [ ^ ]

任何人都可以提供解决方案吗?



where content of $mystring is "Debghosh" (it is in unicode)
Same problem as this: http://stackoverflow.com/questions/11703711/php-mkdir-in-hebrew-creates-gibrish-folder[^]
Can any one give solution?

推荐答案

mystring) )
{
mkdir(' false');
}
mystring)) { mkdir('false'); }





其中



where content of


mystring的内容是Debghosh(它是在unicode)

同样的问题: http: //stackoverflow.com/questions/11703711/php-mkdir-in-hebrew-creates-gibrish-folder [ ^ ]

任何人都可以提供解决方案吗?
mystring is "Debghosh" (it is in unicode)
Same problem as this: http://stackoverflow.com/questions/11703711/php-mkdir-in-hebrew-creates-gibrish-folder[^]
Can any one give solution?


这篇关于mkdir无法使用php进行unicode的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆