Fixed encoding for catalogues (WWW-1284)