add charset to popup - fixes #74