Fix encoding problem in factories menu page object.

The problem occured when having a "Restrictions..." entry in the menu.