我在yii框架中有一个使用丹麦语的网址,例如:mylocal / paservice / product /værktøjer-til-industrirobotter
但是当我打印时$_GET
我得到这个:prodcut/værktøjer-til-industrirobotter
如何获取网址中的“工业机器人工具”?
有没有为此的PHP功能?
输出文本时,您使用的字符编码不正确。尝试通过在文件开头添加以下内容来使用UTF-8:
header(“ Content-Type:text / html; charset = utf8”);
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句