Fixed an encoding problem with tags containing spaces or accented characters on tagged pages