fetchtitle: fix title entity encoding bug