Weird encoding issue on categories page

Ah:

is shorthand for:

doc = Nokogiri.HTML5(html, encoding: encoding)

forcing UTF8 there would break parsing of non-UTF8 responses from webservers