Also speficy the character encoding in the document itself.
This avoids the ''No Character encoding declared at document level'' warning from the w3c validator.
Closes #8644.
Authored by: cboos 2009-09-08
Parent: [r8576]
Child: [r8578]