Correctly handle source files in various encodings when displaying rich backtraces in the error page.
Fixes #6932.
Thanks to trac-ja for the report and the patch!
Authored by: cboos 2008-04-16
Parent: [r6827]
Child: [r6829]