编码问题asp.net [英] Encoding issue asp.net

查看:154
本文介绍了编码问题asp.net的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在记事本文件,节省广告ANSI编码有两个网址:

I have a file in notepad, saves ad Ansi encoding with two URLs:

http://www.odinklik.ru/site 的.aspx?网站= korney_ chukovsky

http://www.odinklik.ru/site​.aspx?​site=korney_​chukovsky

http://www.odinklik.ru/site.aspx?site=korney_chukovsky

你可以从糊看到的 - 其中之一是寻找不可思议。
它被更改为:
http://www.odinklik.ru/site%E2%80%8B.aspx?%E2%80%8Bsite=korney_%E2%80%8Bchukovsky

As you can see from the paste - one of them is looking "weird". It is changed to: "http://www.odinklik.ru/site%E2%80%8B.aspx?%E2%80%8Bsite=korney_%E2%80%8Bchukovsky"

当我将它复制在浏览器中。这里发生了什么?

When i copy it in the browser. What is happening here?

推荐答案

在code E2 80 8B是UTF-8 code为字符零宽度的空间,但是这并不存在一个字符一个ANSI字符集。

The code E2 80 8B is the UTF-8 code for the character Zero Width Space, but this is not a character that exists in an ANSI character set.

无论你有,当你复制的文本,或之后的所有文件实际上不保存为ANSI,被翻译成零宽度空间其他一些模糊的空格字符

Either you have some other obscure spacing character that is translated into a Zero Width Space when you copy the text, or the file is actually not saved as ANSI after all.

这篇关于编码问题asp.net的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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