Home
Sign Up
Sign In
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member
Sign In
V2EX
›
PHP
php7 的 parse_url 方法,在 mac 上解析中文会出现乱码,有些中文会用"_"代替
hujianxin
·
Oct 19, 2018
· 2994 views
This topic created in 2759 days ago, the information mentioned may be changed or developed.
但是在 Linux 上,同样的程序就不会出现这个问题
macos 版本为,10.13 。
请教,有没有 php 高手大佬遇到过这个问题呢?如何解决呢?
parse_url
php7
macOS
中文
2 replies
•
2018-10-19 18:40:13 +08:00
1
LuoyeBug
Oct 19, 2018
先 url encode 下?
2
hujianxin
OP
Oct 19, 2018
@
webluoye
刚看到回复,谢谢哈,事实上我们就是这样解决的,哈哈哈
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
935 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 43ms ·
UTC 22:29
·
PVG 06:29
·
LAX 15:29
·
JFK 18:29
♥ Do have faith in what you're doing.
❯