Jump to content

Incorrect encoding for German


Michael34

Recommended Posts

I just wonder why this page: http://atheniancorner.comlu.com/Atheniancorner/%dcber%20Politik.html and this other, with exactly the same code except for its contents, doesn't show special characters for german, but a question tag: http://atheniancorner.comlu.com/Atheniancorner/Erste%20S%e4tze%20auf%20Griechisch.html

For some unexpected reason, i can't validate the code of the failing webpage :'(

Link to comment
Share on other sites

I'm not seeing the problem in Firefox. Which browser is it not working in?

 

This might have something to do with the problem:

<charset="US-ASCII">

ASCII doesn't have German characters. That's also not valid HTML but some browsers might still be attempting to use it.

 

There are other validation errors.

You also can only have one <head> element in your document and it must contain a <title> element. I see more than one <head> and there are <br> elements between them which shouldn't be there.

 

Here's the validator for both pages:

http://validator.w3.org/check?uri=http%3A%2F%2Fatheniancorner.comlu.com%2FAtheniancorner%2F%25DCber%2520Politik.html&charset=%28detect+automatically%29&doctype=Inline&group=0

http://validator.w3.org/check?uri=http%3A%2F%2Fatheniancorner.comlu.com%2FAtheniancorner%2FErste%2520S%25e4tze%2520auf%2520Griechisch.html&charset=%28detect+automatically%29&doctype=Inline&group=0&user-agent=W3C_Validator%2F1.3+http%3A%2F%2Fvalidator.w3.org%2Fservices

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...