Codeigniter似乎打破了$ _POST的'£'字符(Pound) [英] Codeigniter seems to break $_POST of '£' character (Pound)

查看:107
本文介绍了Codeigniter似乎打破了$ _POST的'£'字符(Pound)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在一个简单的表单中回显没有CI的'£'字符的$ _POST时,结果与预期的一样,'£'。

When I echo $_POST of the '£' character without CI in a simple Form, the result is as expected, a '£'.

同样使用CI框架使用Input类以及原生的$ _POST var,echo是一个空白。

When I try the same using the CI framework using the Input class as well as the native $_POST var, echo is a blank.

我已经检查以确保一切都是utf- 8在配置,但什么?任何提示?

I've checked to make sure everything is utf-8 in the config but nothing? Any tips?

更新:
这似乎只影响使用最新版本的MAMP和使用PHP 5.3.5的用户。目前的解决方法是转到MAMP控制面板并使用早期版本的PHP 5.2.17

UPDATE: This appears to only affect users using the latest version of MAMP and when using PHP 5.3.5. The current workaround is to go to the MAMP control panel and use the earlier version of PHP 5.2.17

有关更多详细信息,请参阅:
https://bitbucket.org/ellislab/codeigniter-reactor/issue/ 214 /问题插入特殊字元

For more details see: https://bitbucket.org/ellislab/codeigniter-reactor/issue/214/problem-when-inserting-special-characters

推荐答案

这似乎只会影响使用最新版本的使用者的MAMP和使用PHP 5.3.5时。目前的解决方法是转到MAMP控制面板并使用早期版本的PHP 5.2.17

This appears to only affect users using the latest version of MAMP and when using PHP 5.3.5. The current workaround is to go to the MAMP control panel and use the earlier version of PHP 5.2.17

有关详细信息,请参阅:https://bitbucket.org/ellislab/codeigniter-reactor/issue/214/problem-when-inserting-special -characters

For more details see: https://bitbucket.org/ellislab/codeigniter-reactor/issue/214/problem-when-inserting-special-characters

这篇关于Codeigniter似乎打破了$ _POST的'£'字符(Pound)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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