Fix another unicode problem in the use of debug()
Add a workaround for the doctype specifier shorthand apparently not working as expected on customers