字符集改变或什么?

时间:2014-04-15 13:51:02

标签: utf-8 character-encoding character special-characters

我对这个话题有点困惑。相同句子的谷歌结果会有所不同吗?

peоple in thе wоrld 

首先,您可以在google搜索firts句子并查看结果。之后

people in the world

Seacrh第二句并注意到不同的内容。

怎么可能?

1 个答案:

答案 0 :(得分:0)

如果将其转储为十六进制,则可以看到差异。我只是通过xxd运行它。

第一句话:

0000000: 7065 d0be 706c 6520 696e 2074 68d0 b520  pe..ple in th..
0000010: 77d0 be72 6c64 0a                        w..rld.

第二句:

0000000: 7065 6f70 6c65 2069 6e20 7468 6520 776f  people in the wo
0000010: 726c 640a                                rld.

这个似乎是有效的ASCII。

两者看起来非常相似,但第一句使用unicode字符集并使用西里尔字符而不是普通的ASCII字符。

相关问题