Solve problem with link and page title encoding