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

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

问题描述

当我以简单的形式回显没有 CI 的 '£'​​ 字符的 $_POST 时,结果如预期的那样,一个 '£'.

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

当我使用输入类以及本机 $_POST var 使用 CI 框架尝试相同的操作时,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/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

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

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