Users Online Now:
1,916
(
Who's On?
)
Visitors Today:
681,655
Pageviews Today:
898,170
Threads Today:
246
Posts Today:
3,582
07:50 AM
Directory
Adv. Search
Topics
Forum
Back to Forum
Back to Thread
REPLY TO THREAD
Subject
the newtown bee, newtown's local paper has been hacked by han chinese language! word "shooting" "enemy" "evil force"
User Name
Font color:
Default
Dark Red
Red
Orange
Brown
Yellow
Green
Olive
Cyan
Blue
Dark Blue
Indigo
Violet
Black
Font:
Default
Verdana
Tahoma
Ms Sans Serif
In accordance with industry accepted best practices we ask that users limit their copy / paste of copyrighted material to the relevant portions of the article you wish to discuss and no more than 50% of the source material, provide a link back to the original article and provide your original comments / criticism in your post with the article.
[quote:Anonymous Coward 29671717:MV8yMDgxNDQ4XzM1MDUwMjM4XzQxMUE3RUVF] [quote:Anonymous Coward 10777137:MV8yMDgxNDQ4XzM1MDUwMTk5X0NFQjQxOEFC] [quote:Anonymous Coward 6756538:MV8yMDgxNDQ4XzM1MDUwMDM4XzQyOUVBQTgw] [quote:Anonymous Coward 29671717:MV8yMDgxNDQ4XzM1MDQ5OTQyX0EyQjM4OEVD] [quote:Anonymous Coward 6756538:MV8yMDgxNDQ4XzM1MDQ5NDQ5XzNEQjlDMjM3] I figured it out. They have a bug in their code. At the very top, <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> Take a look here... http://www.w3schools.com/tags/tag_meta.asp This isn't valid HTML, they are missing double quotes around text/html and utf-8, so internet explorer, chrome etc... are unable to figure out what encoding to use, and by default are selecting unicode UTF-16LE That is not the same as Unicode UTF-8, which it should be. Try it out in Chrome, go to the page, then click Tools -> Encoding, you will see utf16 is set, now click utf8 nd it will look normal, then select utf16 again. Still strange this would happen tonight. (Yes i'm a programmer) [/quote] Not to argue the point, but that's valid code for HTML 4.01 and that's what their DOCTYPE declares: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" From the w3schools site page you referenced, and where I learned to write XHTML: Differences Between HTML 4.01 and HTML5 The scheme attribute is not supported in HTML5. HTML5 has a new attribute, charset, which makes it easier to define charset: [b]HTML 4.01: <meta http-equiv="content-type" content="text/html; charset=UTF-8">[/b] HTML5: <meta charset="UTF-8"> If you notice the double quotes are the same in both. I ran their sire through the W3C Markup Validation Service and it doesn't check as valid HTML 4.01 Strict but that isn't listed as one of the reasons why. [/quote] Not in STRICT mode it isn't, which they have declared it to be with this line... <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> You can validate it your self here... http://validator.w3.org/check?uri=http%3A%2F%2Fwww.newtownbee.com%2F&charset=%28detect+automatically%29&doctype=Inline&group=0 [/quote] NEEEERRRD!!!!!!:rockon: [/quote] Nerds rule. :rockon: [/quote]
Original Message
[
link to www.newtownbee.com
]
go look at the weirdness!
Pictures (click to insert)
General
Politics
Bananas
People
Potentially Offensive
Emotions
Big Round Smilies
Aliens and Space
Friendship & Love
Textual
Doom
Misc Small Smilies
Religion
Love
Random
View All Categories
|
Next Page >>