URI 中的路径可以包含 unicode 吗? [英] Can a path in a URI contain unicode?

查看:26
本文介绍了URI 中的路径可以包含 unicode 吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有效的 URL 是否可能包含非转义的 Unicode 字符?

Is it possible for a valid URL to contain non-escaped Unicode characters?

推荐答案

是的,允许在 URI(例如字母和数字)中不转义的 ASCII(因此也是 Unicode)的子集.但大多数 Unicode 字符集必须采用百分比编码.

Yes, the subset of ASCII (and therefore Unicode) that is allowed unescaped in URIs, such as letters and numbers. But the majority of the Unicode character set has to be percent-encoded.

这篇关于URI 中的路径可以包含 unicode 吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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