fixed title_prefix encoding (fixes #262)