垃圾字符现在在网站上,虽然它们不是原始的 [英] garbage characters are now on the site, although they weren't thereoriginally

查看:56
本文介绍了垃圾字符现在在网站上,虽然它们不是原始的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




曾几何时,此页面上没有垃圾字符:

http://www.teamlalala.com/blog/category/css/


现在有。例如:


第114页的第2段 - CSS设计的禅??

对我来说,之前有垃圾字符。的"并且在设计之后。


页面始终以UTF-8的形式提供。


我遇到了麻烦什么可能会改变,这将导致这些

垃圾字符。在一段时间里,我想回到几个月之前的事件,当我们的服务器遭到黑客攻击时,我们不得不重新安装,升级版本为
像Apache这样的东西。所以我几乎可以想象,除了在我的情况下,元标记

表示UTF-8以及当我在FireFox中查看它时,Apache发送新标题。正确

将其读作UTF-8。


还有什么其他可能导致此问题吗?


我不能找到一个没有

垃圾字符的字符编码。


- 劳伦斯krubner



Once upon a time, there were no garbage characters on this page:

http://www.teamlalala.com/blog/category/css/

Now there are. For instance:

The 2nd paragraph from page 114 of a??The Zen Of CSS Designa??
For me, there are garbage characters before "The" and after "Design".

The page has always, always been served as UTF-8.

I''m having trouble what might have changed, which would cause these
garbage characters. At a stretch, I think back to an incident a few
months ago, when our server was hacked, and we had to do a re-install,
with upgraded versions of stuff like Apache. So I could almost imagine
Apache sending new headers, except that, in my case, the meta tag
indicates UTF-8 and when I look at it in FireFox, FireFox correctly
reads it as UTF-8.

Anything else that could cause this?

I can not find a character encoding that renders this page without
garbage characters.

-- lawrence krubner

推荐答案

2008-06-05,Lawrence Krubner< la ****** @ krubner.comwrote:
On 2008-06-05, Lawrence Krubner <la******@krubner.comwrote:

>


曾几何时,此页面上没有垃圾字符:

http://www.teamlalala.com/blog/category/css/


现在有。例如:


来自第114页的第2段?CSS设计的禅宗??


对我来说,有垃圾The之前的字符并且在设计之后。


页面始终以UTF-8的形式提供。


我遇到了麻烦什么可能会改变,这将导致这些

垃圾字符。在一段时间里,我想回到几个月之前的事件,当我们的服务器遭到黑客攻击时,我们不得不重新安装,升级版本为
像Apache这样的东西。所以我几乎可以想象,除了在我的情况下,元标记

表示UTF-8以及当我在FireFox中查看它时,Apache发送新标题。正确

将其读作UTF-8。


还有什么其他可能导致此问题吗?


我不能找到一个字符编码,无需使用

垃圾字符呈现此页面。
>

Once upon a time, there were no garbage characters on this page:

http://www.teamlalala.com/blog/category/css/

Now there are. For instance:

The 2nd paragraph from page 114 of a??The Zen Of CSS Designa??
For me, there are garbage characters before "The" and after "Design".

The page has always, always been served as UTF-8.

I''m having trouble what might have changed, which would cause these
garbage characters. At a stretch, I think back to an incident a few
months ago, when our server was hacked, and we had to do a re-install,
with upgraded versions of stuff like Apache. So I could almost imagine
Apache sending new headers, except that, in my case, the meta tag
indicates UTF-8 and when I look at it in FireFox, FireFox correctly
reads it as UTF-8.

Anything else that could cause this?

I can not find a character encoding that renders this page without
garbage characters.



页面_is_有效UTF-8,服务器标题表示它是UTF-8,而且

确实包含那些字符(一个带有抑扬符号,欧元符号,ob

diphthong结合物),用UTF-8编码。


他们是如何到达那里的?不确定,也许你转换了从

Latin1到UTF-8的文件,当它已经是UTF-8或者什么的时候。


无论如何你应该没问题,如果你只是将页面修改为包含你需要的字符的

UTF-8表示(大概是引用

标记)。


没关系元tag--如果服务器失败,浏览器只会使用它来表示编码是什么。在你的情况下,服务器是。 meta标签

可能也是正确的,但它不会导致或解决真正的问题

这里。

The page _is_ valid UTF-8, and the server header says it''s UTF-8, and it
really does contain those characters (a with circumflex, euro symbol, oe
diphthong ligature thing), encoded in UTF-8.

How did they get there? Not sure, perhaps you "converted" the file from
Latin1 to UTF-8 when it already was UTF-8 or something.

Anyway you should be OK if you just fix the page to contain instead the
UTF-8 representations of the characters you want (presumably quotation
marks).

Never mind the meta tag-- the browser only uses that if the server fails
to say what the encoding is. In your case the server is. The meta tag
might as well be correct, but it won''t cause or solve a real problem
here.

On Thu,2008年6月5日22:16:08 +0200,Lawrence Krubner

< la ****** @ krubner.comwrote:
On Thu, 05 Jun 2008 22:16:08 +0200, Lawrence Krubner
<la******@krubner.comwrote:

曾几何时,此页面上没有垃圾字符:

http://www.teamlalala.com/blog/category/css/


现在有。例如:


第114页的第2段?¢a ???? CSS设计的禅意?¢a ?????


对我来说,在The之前有垃圾字符。并且在设计之后。


页面始终以UTF-8的形式提供。


我遇到了麻烦什么可能会改变,这将导致这些

垃圾字符。在一段时间里,我想回到几个月之前的事件,当我们的服务器遭到黑客攻击时,我们不得不重新安装,升级版本为
像Apache这样的东西。所以我几乎可以想象,除了在我的情况下,元标记

表示UTF-8以及当我在FireFox中查看它时,Apache发送新标题。正确

将其读作UTF-8。


还有什么其他可能导致此问题吗?


我不能找到一个字符编码,无需使用

垃圾字符呈现此页面。
Once upon a time, there were no garbage characters on this page:

http://www.teamlalala.com/blog/category/css/

Now there are. For instance:

The 2nd paragraph from page 114 of ?¢a????The Zen Of CSS Design?¢a?????
For me, there are garbage characters before "The" and after "Design".

The page has always, always been served as UTF-8.

I''m having trouble what might have changed, which would cause these
garbage characters. At a stretch, I think back to an incident a few
months ago, when our server was hacked, and we had to do a re-install,
with upgraded versions of stuff like Apache. So I could almost imagine
Apache sending new headers, except that, in my case, the meta tag
indicates UTF-8 and when I look at it in FireFox, FireFox correctly
reads it as UTF-8.

Anything else that could cause this?

I can not find a character encoding that renders this page without
garbage characters.



双重utf-8编码的主要原因是数据库不正确

导出/导入。

-

Rik Wasmus

.... spamrun完成

Among the top reasons for double utf-8 encoding is an improper database
export/import.
--
Rik Wasmus
....spamrun finished


6月6日上午12:16, Lawrence Krubner< lawre ... @ krubner.comwrote:
On Jun 6, 12:16 am, Lawrence Krubner <lawre...@krubner.comwrote:

曾几何时,此页面上没有垃圾字符:
http://www.teamlalala.com/blog/category/css/


现在有。例如:


第114页的第2段?CSS设计的禅宗?


对我来说,之前有垃圾字符该(the)QUOT;并且在设计之后。


页面始终以UTF-8的形式提供。


我遇到了麻烦什么可能会改变,这将导致这些

垃圾字符。在一段时间里,我想回到几个月之前的事件,当我们的服务器遭到黑客攻击时,我们不得不重新安装,升级版本为
像Apache这样的东西。所以我几乎可以想象,除了在我的情况下,元标记

表示UTF-8以及当我在FireFox中查看它时,Apache发送新标题。正确

将其读作UTF-8。


还有什么其他可能导致此问题吗?


我不能找到一个字符编码,无需使用

垃圾字符呈现此页面。
Once upon a time, there were no garbage characters on this page:

http://www.teamlalala.com/blog/category/css/

Now there are. For instance:

The 2nd paragraph from page 114 of ?The Zen Of CSS Design?

For me, there are garbage characters before "The" and after "Design".

The page has always, always been served as UTF-8.

I''m having trouble what might have changed, which would cause these
garbage characters. At a stretch, I think back to an incident a few
months ago, when our server was hacked, and we had to do a re-install,
with upgraded versions of stuff like Apache. So I could almost imagine
Apache sending new headers, except that, in my case, the meta tag
indicates UTF-8 and when I look at it in FireFox, FireFox correctly
reads it as UTF-8.

Anything else that could cause this?

I can not find a character encoding that renders this page without
garbage characters.



不要使用智能报价以任何其他方式,但HTML实体。更好的是

根本不使用它们,但如果真的需要那么只作为HTML实体。

对于静态文档,总是在获得
$后检查报价是否有损坏b $ b文档在富文本编辑器中打开,比如说Microsoft Word。

最好不要在任何富文本编辑器中打开(X)HTML文档。

成功的网页设计的黄金规则。另见:
http://en.wikipedia.org/wiki /Smart_q...onic_documents


这篇关于垃圾字符现在在网站上,虽然它们不是原始的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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