如何为Windows启用UTF 8支持PCRE xampp?

时间:2021-12-03 23:26:29

I am trying to get the Kohana PHP Framework to work on my localhost using xampp on windows, the problem is: PCRE UTF-8 PCRE has not been compiled with UTF-8 support.

我试图让Kohana PHP框架在Windows上使用xampp在我的localhost上工作,问题是:PCRE UTF-8 PCRE尚未使用UTF-8支持进行编译。

Can Anyone help me how to do this on windows?

任何人都可以帮我在Windows上如何做到这一点?

Thank you.

谢谢。

1 个解决方案

#1


0  

Someone reported (and solved) this problem on Kohana forums. He's running Kohana on Linux though. In summary, he installed the latest PCRE with enabled UTF-8 support then recompiled PHP.

有人在Kohana论坛上报告(并解决了)这个问题。不过,他在Linux上运行Kohana。总之,他安装了最新的PCRE并启用了UTF-8支持,然后重新编译了PHP。

You can get a Windows version of PCRE with UTF-8 support here and build PHP using this guide.

您可以在此处获得支持UTF-8的Windows版PCRE,并使用本指南构建PHP。

(Sorry, I can't post comments yet: what's your XAMPP version, btw? I'm also running Kohana (3.2) on it but didn't encounter this problem.)

(对不起,我还不能发表评论:你的XAMPP版本是什么,顺便说一句?我也在运行Kohana(3.2),但没有遇到这个问题。)

#1


0  

Someone reported (and solved) this problem on Kohana forums. He's running Kohana on Linux though. In summary, he installed the latest PCRE with enabled UTF-8 support then recompiled PHP.

有人在Kohana论坛上报告(并解决了)这个问题。不过,他在Linux上运行Kohana。总之,他安装了最新的PCRE并启用了UTF-8支持,然后重新编译了PHP。

You can get a Windows version of PCRE with UTF-8 support here and build PHP using this guide.

您可以在此处获得支持UTF-8的Windows版PCRE,并使用本指南构建PHP。

(Sorry, I can't post comments yet: what's your XAMPP version, btw? I'm also running Kohana (3.2) on it but didn't encounter this problem.)

(对不起,我还不能发表评论:你的XAMPP版本是什么,顺便说一句?我也在运行Kohana(3.2),但没有遇到这个问题。)