-
Notifications
You must be signed in to change notification settings - Fork 599
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
读取window服务器上得文件,不管设置什么编码 中文都会乱码 #8
Comments
确实有此问题,刚才才试用过,GBK,UTF-8都会有此问题,希望作者修复。 |
不知道你的windows服务器采用的系统编码是什么呢? |
编码是个大坑,试试把shell用记事本打开,另存为..选utf-8 或者ansi,然后重新传到server上 |
我服务器就是Wamp,然后shell是最常见的eval的,ansi格式的。 |
这里需要说明一下,在 windows 下(测试系统 Win7),cmd 是 GBK 编码,而文件编码默认用的 ANSI,有些源代码文件使用的是 UTF-8 编码。
测试截图Win 下 PHP_Eval 中文测试: Win 下 ASPX 中文测试: Have fun ! |
读取window服务器上得文件,不管设置什么编码 中文都会乱码
The text was updated successfully, but these errors were encountered: