bugfix for show-statistics view, don't choke on non-ascii characters in the period vocabulary Fixes #8420