```
var urlStr string = "吧:%:%@163& .html.html"
escapeUrl := url.QueryEscape(urlStr)
fmt.Println("编码:",escapeUrl)
```
输出下面这个
```
编码: %!E(MISSING)5%A7%!A(MISSING)%3A%40163%!+(MISSING).html.html
```
看源码里,他不支持中文什么的吗
```
for i := 0; i < len(s); i++ {
c := s[i]
if shouldEscape(c, mode) {
if c == ' ' && mode == encodeQueryComponent {
spaceCount++
} else {
hexCount++
}
}
}
```
#1