Re: Character data messed up in 0.8.0 beta 1

Hello Jukka,

On Apr 19, 2007, at 19:01 , Jukka K. Korpela wrote:
> I haven't found many differences yet (it's faster, but probably  
> just because of smaller load)

Actually, validator-test is hosted on the machine that takes most of  
the load for, so if it feels faster, it's because of  
the module Björn Höhrmann built. Kudos to him for the performance  
boost, and great code.

> , but this one is rather serious:
> When testing a page in ISO-8859-1 encoding, the echo of a source  
> line in an error message has the non-ASCII characters replaced by  
> malformed data, displayed by IE 7 as small rectangles, by Firefox 2  
> as U+FFFD (a white
> question mark in a black lozenge)
> Test page:
> The reason is apparently that the beta version echoes the source  
> line "as is", even though the source is ISO-8859-1 encoded and the  
> validator's report page is UTF-8 encoded.
> This doesn't happen in the production version,  
> which seems to convert the source to UTF-8 before echoing it.

This is indeed a bug where transcoding either is not working, or is  
not applied everywhere.
I'm adding a bug entry here:
and will track it there. I'll try and report here on the list too,  
once the bug is fixed.

Thanks a lot!

Received on Thursday, 19 April 2007 10:22:53 UTC